Skip to content

Commit 21c7ea3

Browse files
committed
fix(deps): upgrade parse-duration to 2.1.4 due to security vulnerability
1 parent 4ea78b1 commit 21c7ea3

File tree

5 files changed

+2865
-2492
lines changed

5 files changed

+2865
-2492
lines changed

jest.config.js

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
11
const { compilerOptions } = require('./tsconfig.base.json');
22
const { pathsToModuleNameMapper } = require('ts-jest');
3+
34
module.exports = {
45
preset: 'ts-jest',
56
testEnvironment: 'node',
67
snapshotFormat: {
7-
'escapeString': false,
8-
'printBasicPrototype': false
8+
escapeString: false,
9+
printBasicPrototype: false
910
},
1011
testRegex: '.*\\.(spec|test)\\.ts$',
11-
moduleNameMapper: pathsToModuleNameMapper(compilerOptions.paths, { prefix: '<rootDir>/' }),
12+
moduleNameMapper: {
13+
...pathsToModuleNameMapper(compilerOptions.paths, { prefix: '<rootDir>/' })
14+
},
1215
modulePathIgnorePatterns: ['<rootDir>/package.json'],
1316
collectCoverageFrom: ['packages/**/*.ts', '!**/lib/**', '!<rootDir>/test/shared/**'],
14-
roots: ["<rootDir>/packages/", "<rootDir>/test/"]
17+
roots: ['<rootDir>/packages/', '<rootDir>/test/']
1518
};

0 commit comments

Comments
 (0)