adding assertion for AI

This commit is contained in:
Martin McKeaveney 2024-10-30 16:29:20 +00:00
parent 62caef19ca
commit 8478c3f8b0
1 changed files with 1 additions and 1 deletions

View File

@ -2462,7 +2462,6 @@ describe.each([
[FieldType.ATTACHMENT_SINGLE]: setup.structures.basicAttachment(), [FieldType.ATTACHMENT_SINGLE]: setup.structures.basicAttachment(),
[FieldType.FORMULA]: undefined, // generated field [FieldType.FORMULA]: undefined, // generated field
[FieldType.AUTO]: undefined, // generated field [FieldType.AUTO]: undefined, // generated field
[FieldType.AI]: undefined, // generated field
[FieldType.JSON]: { name: generator.guid() }, [FieldType.JSON]: { name: generator.guid() },
[FieldType.INTERNAL]: generator.guid(), [FieldType.INTERNAL]: generator.guid(),
[FieldType.BARCODEQR]: generator.guid(), [FieldType.BARCODEQR]: generator.guid(),
@ -2625,6 +2624,7 @@ describe.each([
tableId: tableId, tableId: tableId,
createdAt: new Date().toISOString(), createdAt: new Date().toISOString(),
updatedAt: new Date().toISOString(), updatedAt: new Date().toISOString(),
ai: null,
} }
expect(allRows).toEqual([expectedRow, expectedRow, expectedRow]) expect(allRows).toEqual([expectedRow, expectedRow, expectedRow])
}) })