fix: update RegExp (#37856)

* fix: update RegExp

* fix: fix

* fix: fix

* fix: fix

* fix: fix

* fix: fix Regexp
This commit is contained in:
lijianan 2022-10-05 20:01:04 +08:00 committed by GitHub
parent 09570f511f
commit 3dcb62b72f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,7 +10,7 @@ module.exports = {
'\\.md$': './node_modules/@ant-design/tools/lib/jest/demoPreprocessor',
'\\.(jpg|png|gif|svg)$': './node_modules/@ant-design/tools/lib/jest/imagePreprocessor',
},
testRegex: 'check-site\\.js$',
testRegex: 'check-site\\.(j|t)s$',
testEnvironment: 'node',
transformIgnorePatterns,
snapshotSerializers: ['enzyme-to-json/serializer'],