test: update jest
parent
1ea865e59b
commit
fa55a16f2c
3
.jest.js
3
.jest.js
|
@ -4,7 +4,8 @@ const transformIgnorePatterns = [
|
||||||
'/dist/',
|
'/dist/',
|
||||||
// Ignore modules without es dir.
|
// Ignore modules without es dir.
|
||||||
// Update: @babel/runtime should also be transformed
|
// Update: @babel/runtime should also be transformed
|
||||||
'node_modules/(?!.*(@babel|lodash-es))[^/]+?/(?!(es|node_modules)/)',
|
// 'node_modules/(?!.*(@babel|lodash-es))',
|
||||||
|
'node_modules/(?!@ant-design/icons-vue|@ant-design/icons-svg|lodash-es)/',
|
||||||
];
|
];
|
||||||
const testPathIgnorePatterns = ['/node_modules/', 'node'];
|
const testPathIgnorePatterns = ['/node_modules/', 'node'];
|
||||||
if (process.env.WORKFLOW === 'true') {
|
if (process.env.WORKFLOW === 'true') {
|
||||||
|
|
Loading…
Reference in New Issue