mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 20:32:10 +00:00
This PR does the following things. 1. Move the override output of the `snapshots` folder to the `overrides` folder. 2. Support `override` mode to replace `takeover` mode 3. The `update_fixtures.js` no longer uses `overrides`'s `output.js` to replace Babel's `output.js`. ### How does `override` mode work? When running each test, it checks whether an output file for that test exists in the `overrides` directory. If it does, the output file will be used to compare with the transformed code. |
||
|---|---|---|
| .. | ||
| babel-plugin-transform-class-properties/test/fixtures | ||
| babel-plugin-transform-logical-assignment-operators/test/fixtures/logical-assignment/null-coalescing-without-other | ||
| babel-plugin-transform-object-rest-spread/test/fixtures | ||
| babel-plugin-transform-optional-chaining/test/fixtures | ||