Skip to content

Commit 99bc6b0

Browse files
committed
Config(jest): update jest.config.js
1 parent 913e4df commit 99bc6b0

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.browserslistrc

-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
> 1%
22
last 2 versions
3-
not ie <= 8

jest.config.js

+7
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ module.exports = {
1212
'.+\\.(css|styl|less|sass|scss|svg|png|jpg|ttf|woff|woff2)$': 'jest-transform-stub',
1313
'^.+\\.tsx?$': 'ts-jest'
1414
},
15+
transformIgnorePatterns: [
16+
'/node_modules/'
17+
],
1518
moduleNameMapper: {
1619
'^@/(.*)$': '<rootDir>/src/$1'
1720
},
@@ -34,6 +37,10 @@ module.exports = {
3437
'text-summary'
3538
],
3639
testURL: 'http://localhost/',
40+
watchPlugins: [
41+
'jest-watch-typeahead/filename',
42+
'jest-watch-typeahead/testname'
43+
],
3744
globals: {
3845
'ts-jest': {
3946
babelConfig: true

0 commit comments

Comments
 (0)