This commit is contained in:
Martin McKeaveney 2024-10-30 11:32:54 +00:00
parent b06074128f
commit d9b685811d
1 changed files with 2 additions and 2 deletions

View File

@ -121,7 +121,7 @@ describe("utils", () => {
name: "aicol", name: "aicol",
type: FieldType.AI, type: FieldType.AI,
operation: AIOperationEnum.PROMPT, operation: AIOperationEnum.PROMPT,
prompt: "Test prompt" prompt: "Test prompt",
}, },
}, },
}) })
@ -129,7 +129,7 @@ describe("utils", () => {
const data = [ const data = [
{ name: "Alice", aicol: "test" }, { name: "Alice", aicol: "test" },
{ name: "Bob", aicol: "test" }, { name: "Bob", aicol: "test" },
{ name: "Claire", aicol: "test" } { name: "Claire", aicol: "test" },
] ]
const result = await importToRows(data, table, config.user?._id) const result = await importToRows(data, table, config.user?._id)