mirror of
https://github.com/hanzoai/react.git
synced 2026-09-24 17:02:27 +00:00
chore: upgrade to jest 24 (#15778)
* chore: upgrade to jest 24 * download react-is from npm manually
This commit is contained in:
@@ -62,6 +62,9 @@ module.exports = {
|
||||
if (filePath.match(/\.ts$/) && !filePath.match(/\.d\.ts$/)) {
|
||||
return tsPreprocessor.compile(src, filePath);
|
||||
}
|
||||
if (filePath.match(/\.json$/)) {
|
||||
return src;
|
||||
}
|
||||
if (!filePath.match(/\/third_party\//)) {
|
||||
// for test files, we also apply the async-await transform, but we want to
|
||||
// make sure we don't accidentally apply that transform to product code.
|
||||
|
||||
Reference in New Issue
Block a user