Skip to content

Commit 9faf88e

Browse files
author
刘欢
committed
chore:更新jest配置
1 parent bfb4520 commit 9faf88e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

jest.config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
module.exports = {
22
setupFiles: ['./tests/setup.js'],
33
snapshotSerializers: [require.resolve('enzyme-to-json/serializer')],
4+
transformIgnorePatterns: [
5+
'/node_modules/(?!cheerio).+\\.js$',
6+
],
47
};

0 commit comments

Comments
 (0)