-
-
Notifications
You must be signed in to change notification settings - Fork 484
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(tasks/transform-conformance): support override
to replace takeover
mode
#7771
chore(tasks/transform-conformance): support override
to replace takeover
mode
#7771
Conversation
Your org has enabled the Graphite merge queue for merging into mainAdd the label “0-merge” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “hotfix” to add to the merge queue as a hot fix. You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link. |
CodSpeed Performance ReportMerging #7771 will not alter performanceComparing Summary
|
aef8822
to
4ee262c
Compare
4ee262c
to
516de5d
Compare
… fixtures (#7777) In two of the overridden text fixtures for class properties transform, there was no `output.js` file because what was overridden was just `options.json` and `update_fixtures.js` script then generated new output files using Babel with the new options. That was fine, but doesn't work with #7771. So add `output.js` files to the these overrides too.
I see one problem. There are 3 overrides for class properties transform where the This explains the difference in snapshots for class properties transform in this PR. 2 of the overrides for class properties transform have no What explains the difference in snapshots for the other transforms, I cannot say. Looks like something's not working! |
PS I can clean up |
Looks like the |
An unwelcome discovery! 😭 But yes better to know than not to know. But every single test for object-rest-spread is now "Output mismatch"! I guess that's where |
516de5d
to
4eb8657
Compare
Fixed! By using |
The |
4eb8657
to
c4ade12
Compare
Looks like the problem is that it's not looking for Sorry if I was unclear above. #7777 solved the problem of when |
Solved! Thank you for finding the root cause! |
c4ade12
to
1556492
Compare
1556492
to
78574fa
Compare
Merge activity
You must have a Graphite account in order to use the merge queue. Create an account and try again using this link
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I rebased this on top of #7807, so it's easier to see that all the old takeover snapshots have just moved to overrides, and this change hasn't actually altered the output.js
files.
78574fa
to
51b6b30
Compare
59265ab
to
450bb33
Compare
51b6b30
to
e21c9eb
Compare
…keover` mode (#7771) 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.
e21c9eb
to
b089e8b
Compare
This PR does the following things.
snapshots
folder to theoverrides
folder.override
mode to replacetakeover
modeupdate_fixtures.js
no longer usesoverrides
'soutput.js
to replace Babel'soutput.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.