-
Notifications
You must be signed in to change notification settings - Fork 30k
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
v4.x backport - test: convert var->const/let in tests #11773
Conversation
ddd770c
to
b7e4e34
Compare
I'm getting an error for tests that have strict mode disabled, e.g. test-fs-stat#L40. I resolved it by disabling the
Files failing:
|
CI: https://ci.nodejs.org/job/node-test-commit/8345/ I'd appreciate people taking a look at the last three commits. |
803ae4a
to
dc72f29
Compare
@gibfahn since v4.8.1 is likely going to be the last Active LTS release of v4.x and the first r.c. has already gone out it might make sense to skip this. |
@MylesBorins obviously I'd like you to merge it if possible (having just finished wrestling it into shape), but it's up to you. The benefit to having this is that virtually nothing will backport cleanly to However I guess if we're really not expecting almost anything to be added to EDIT: Whichever it is, let me know whether you want #10698 backported to |
Manually fix issues that eslint --fix couldn't do automatically.
dc72f29
to
3ed44d4
Compare
I've rebased and rerun CI anyway, so @MylesBorins feel free to whatever you think is best! CI 2: https://ci.nodejs.org/job/node-test-commit/8360/ The branch from before I squashed is var2const-v4.x-presquash, the |
I'm going to go ahead and close this for v4, will land the v6 version after this release |
I'll fix up the commit messages once the tests are passing.
Backport of #10685, I couldn't cherry-pick as it brought in hundreds of unrelated changes, so I redid the
eslint --fix
and manual fixup forv4.x
.Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passesAffected core subsystem(s)
test