Browse Source

chore: skip useless part (#39422)

pull/39426/head
二货爱吃白萝卜 2 years ago
committed by GitHub
parent
commit
614389ed70
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      .jest.js

2
.jest.js

@ -25,7 +25,7 @@ const transformIgnorePatterns = [
];
function getTestRegex(libDir) {
if (libDir === 'dist') {
if (['dist', 'lib', 'es'].includes(libDir)) {
return 'demo\\.test\\.(j|t)s$';
}
return '.*\\.test\\.(j|t)sx?$';

Loading…
Cancel
Save