Skip to content

Commit 5cfdb3c

Browse files
test: add TS no-check to generated mocks
1 parent 70df14a commit 5cfdb3c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/ai/__tests__/test-utils/convert-mocks.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,10 @@ async function main(): Promise<void> {
5353
backendLookup[fileName] = fullText;
5454
}
5555
}
56-
let fileText = `// Generated from mocks text files.`;
56+
let fileText = `// Generated from mocks text files. Do not edit.`;
5757

5858
fileText += '\n\n';
59+
fileText += `// @ts-nocheck\n`;
5960
fileText += `export const mocksLookup: Record<string, string> = ${JSON.stringify(
6061
lookup,
6162
null,

0 commit comments

Comments
 (0)