dillon1000/react
Commit
Browse files fix failed tests on Windows #8737 (#8747)
* fix failed tests on Windows #8737 * Use regexp literal instead of `RegExp` constructor so that we don't need to bother with escaping special character like `\` and `.`. Note that by removing the path separator in regexp, I've relaxed the matching condition a little.Since there's little chance we have files like `XXXReact.d.ts`,it should not matter.
Changed paths2 files
First-parent comparisonscripts/jest/ts-preprocessor.js ModifiedM src/isomorphic/modern/class/__tests__/ReactClassEquivalence-test.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…