Skip to content

Commit 0c2d00e

Browse files
committed
Fix Jest config syntax
1 parent 9d9c311 commit 0c2d00e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

jest.config.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,21 @@ module.exports = config = {
66
testEnvironment: 'node',
77
globals: {
88
'ts-jest': {
9-
tsconfig: 'tsconfig.json'
10-
}
9+
tsconfig: 'tsconfig.json',
10+
},
1111
},
1212
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json'],
1313
moduleNameMapper: pathsToModuleNameMapper(
1414
compilerOptions.paths,
15-
{ prefix: '<rootDir>/' }
15+
{ prefix: '<rootDir>/' },
1616
),
1717
modulePathIgnorePatterns: [
1818
'<rootDir>/dist',
1919
'<rootDir>/node_modules',
2020
'<rootDir>/out',
2121
],
2222
transform: {
23-
'^.+\\.(ts|tsx)$': 'ts-jest'
23+
'^.+\\.(ts|tsx)$': 'ts-jest',
2424
},
2525
testMatch: [
2626
'**/tests/**/*.(spec|test).(ts?(x)|js?(x))',

0 commit comments

Comments
 (0)