Created
April 30, 2022 19:52
-
-
Save n8rzz/c6761119d130094049391dce8b67b5a4 to your computer and use it in GitHub Desktop.
jest.ts.config.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { createJestConfig, jestConfig } = require('./jest.base.config'); | |
const extendedConfig = { | |
...jestConfig, | |
rootDir: '../../', | |
testRegex: '.test.ts$', | |
testPathIgnorePatterns: [ | |
...jestConfig.testPathIgnorePatterns, | |
'^.+\\.(featureFlags|store|stores|services|utils)\\.test.t(s|x)$', | |
], | |
}; | |
module.exports = createJestConfig(extendedConfig); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment