Skip to content

Commit

Permalink
Update tests config
Browse files Browse the repository at this point in the history
  • Loading branch information
egorovsa committed Jan 22, 2022
1 parent 18f45b3 commit b825d36
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions jest.config.js
@@ -1,6 +1,12 @@
/** @type {import('ts-jest/dist/types').InitialOptionsTsJest} */
module.exports = {
roots: ['<rootDir>/src'],
preset: 'ts-jest',
testEnvironment: 'node',
};
roots: ["<rootDir>/src"],
preset: "ts-jest",
testEnvironment: "node",
testMatch: ["**/?(*.)+(spec|test).ts"],
globals: {
"ts-jest": {
isolatedModules: true,
},
},
};

0 comments on commit b825d36

Please sign in to comment.