test: update jest

pull/3598/head
tangjinzhou 2021-01-24 00:33:38 +08:00
parent 1ea865e59b
commit fa55a16f2c
1 changed files with 2 additions and 1 deletions

View File

@ -4,7 +4,8 @@ const transformIgnorePatterns = [
'/dist/',
// Ignore modules without es dir.
// 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'];
if (process.env.WORKFLOW === 'true') {