Skip to content

Commit 27657a1

Browse files
committed
test: ignore diagnostic TS151001
1 parent 8da9b1e commit 27657a1

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

jest.config.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,12 @@ const config = {
1515
testEnvironment: 'jsdom',
1616
testMatch: ['<rootDir>/__tests__/**/*.test.ts?(x)'],
1717
transform: {
18-
'\\.tsx?$': 'ts-jest',
18+
'\\.tsx?$': [
19+
'ts-jest',
20+
{
21+
diagnostics: { ignoreCodes: ['TS151001'] },
22+
},
23+
],
1924
'\\.asm$': '<rootDir>/__tests__/rawTransformer.js',
2025
},
2126
}

0 commit comments

Comments
 (0)