mirror of
https://github.com/zebrajr/react.git
synced 2025-12-06 12:20:20 +01:00
* Add a test-only transform to catch infinite loops * Only track iteration count, not time This makes the detection dramatically faster, and is okay in our case because we don't have tests that iterate so much. * Use clearer naming * Set different limits for tests * Fail tests with infinite loops even if the error was caught * Add a test |
||
|---|---|---|
| .. | ||
| __tests__ | ||
| transform-object-assign-require.js | ||
| transform-prevent-infinite-loops.js | ||