Skip to content

Commit

Permalink
test(jest): adjust jest config for multiple libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
ocombe committed Nov 8, 2021
1 parent 662ef1d commit 5d04bd8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ const { paths } = require('./tsconfig.json').compilerOptions;
/** @type {import('@jest/types').Config.InitialOptions} */
module.exports = {
preset: 'jest-preset-angular',
modulePathIgnorePatterns: ["<rootDir>/dist/"],
moduleNameMapper: pathsToModuleNameMapper(paths, { prefix: '<rootDir>' }),
setupFilesAfterEnv: ['<rootDir>/setup-jest.ts'],
};

0 comments on commit 5d04bd8

Please sign in to comment.