fix AI tests
This commit is contained in:
parent
8478c3f8b0
commit
0bc6647751
|
@ -2462,6 +2462,7 @@ describe.each([
|
|||
[FieldType.ATTACHMENT_SINGLE]: setup.structures.basicAttachment(),
|
||||
[FieldType.FORMULA]: undefined, // generated field
|
||||
[FieldType.AUTO]: undefined, // generated field
|
||||
[FieldType.AI]: "LLM Output",
|
||||
[FieldType.JSON]: { name: generator.guid() },
|
||||
[FieldType.INTERNAL]: generator.guid(),
|
||||
[FieldType.BARCODEQR]: generator.guid(),
|
||||
|
@ -2493,6 +2494,7 @@ describe.each([
|
|||
}),
|
||||
[FieldType.FORMULA]: fullSchema[FieldType.FORMULA].formula,
|
||||
[FieldType.AUTO]: expect.any(Number),
|
||||
[FieldType.AI]: expect.any(String),
|
||||
[FieldType.JSON]: rowValues[FieldType.JSON],
|
||||
[FieldType.INTERNAL]: rowValues[FieldType.INTERNAL],
|
||||
[FieldType.BARCODEQR]: rowValues[FieldType.BARCODEQR],
|
||||
|
@ -2565,7 +2567,7 @@ describe.each([
|
|||
expectedRowData["bb_reference_single"].sample,
|
||||
false
|
||||
),
|
||||
ai: null,
|
||||
ai: "LLM Output",
|
||||
},
|
||||
])
|
||||
})
|
||||
|
@ -2624,7 +2626,6 @@ describe.each([
|
|||
tableId: tableId,
|
||||
createdAt: new Date().toISOString(),
|
||||
updatedAt: new Date().toISOString(),
|
||||
ai: null,
|
||||
}
|
||||
expect(allRows).toEqual([expectedRow, expectedRow, expectedRow])
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue