mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-07 09:26:06 +08:00
chore: skip useless part (#39422)
This commit is contained in:
parent
62a2a25b8c
commit
614389ed70
2
.jest.js
2
.jest.js
@ -25,7 +25,7 @@ const transformIgnorePatterns = [
|
|||||||
];
|
];
|
||||||
|
|
||||||
function getTestRegex(libDir) {
|
function getTestRegex(libDir) {
|
||||||
if (libDir === 'dist') {
|
if (['dist', 'lib', 'es'].includes(libDir)) {
|
||||||
return 'demo\\.test\\.(j|t)s$';
|
return 'demo\\.test\\.(j|t)s$';
|
||||||
}
|
}
|
||||||
return '.*\\.test\\.(j|t)sx?$';
|
return '.*\\.test\\.(j|t)sx?$';
|
||||||
|
Loading…
Reference in New Issue
Block a user