chore: fix test (#2954)
This commit is contained in:
committed by
GitHub
parent
98531e5abf
commit
dc8664578c
@@ -20,8 +20,11 @@ module.exports = {
|
|||||||
__WEB_VERSION__: '1.0.0',
|
__WEB_VERSION__: '1.0.0',
|
||||||
},
|
},
|
||||||
transform: {
|
transform: {
|
||||||
'^.+\\.(ts|tsx)?$': 'ts-jest',
|
'^.+\\.(ts|tsx|js|jsx)?$': 'ts-jest',
|
||||||
'\\.svg$': 'svg-jest',
|
'\\.svg$': 'svg-jest',
|
||||||
},
|
},
|
||||||
|
transformIgnorePatterns: [
|
||||||
|
'node_modules/(?!(react-error-boundary)/)',
|
||||||
|
],
|
||||||
testEnvironment: 'jsdom',
|
testEnvironment: 'jsdom',
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user