Skip to content

Commit 512f557

Browse files
committed
Updated jest config file to (hopefully) work in GitHub Actions (it previously worked locally but not in GitHub Actions)
1 parent ae815e2 commit 512f557

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

jest.config.ts renamed to jest.config.cts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
export default {
1+
import type { Config } from 'jest';
2+
3+
const config: Config = {
24
preset: 'ts-jest',
35
testEnvironment: 'node',
46
roots: ['<rootDir>'],
@@ -13,3 +15,5 @@ export default {
1315
'^(\\.\\.?\\/.+)\\.js$': '$1',
1416
},
1517
};
18+
19+
export = config;

0 commit comments

Comments
 (0)