Skip to content

Commit 30e44e7

Browse files
committedSep 7, 2021
fix(tsbb): Update testMatch feild in jest config.
1 parent 7f69d51 commit 30e44e7

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed
 

‎packages/tsbb/src/jest/jest.config.ts

+5-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,11 @@ export default (resolve: Function, rootDir: string) => {
99
const conf: IJestConfig = {
1010
rootDir: rootDir,
1111
collectCoverageFrom: ['src/**/*.{js,jsx,ts,tsx}', '!src/**/*.d.ts'],
12-
testMatch: ['<rootDir>/src/**/__tests__/**/*.{js,jsx,ts,tsx}', '<rootDir>/src/**/*.{spec,test}.{js,jsx,ts,tsx}'],
12+
testMatch: [
13+
'<rootDir>/src/**/__tests__/**/*.{js,jsx,ts,tsx}',
14+
'<rootDir>/test/**/*.{js,jsx,ts,tsx}',
15+
'<rootDir>/src/**/*.{spec,test}.{js,jsx,ts,tsx}',
16+
],
1317
testEnvironment: 'jsdom',
1418
testRunner: require.resolve('jest-circus/runner'),
1519
transform: {

0 commit comments

Comments
 (0)
Please sign in to comment.