-
Notifications
You must be signed in to change notification settings - Fork 735
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
test: refactor 'set' tests to AVA #576
Conversation
}); | ||
|
||
const nodeVersion = process.versions.node.split('.').map(str => parseInt(str, 10)); | ||
const uncaughtErrorExitCode = (nodeVersion[0] === 0 && nodeVersion[1] < 11) ? 8 : 1; |
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.
Move these up a few lines with the other const
declaration.
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.
This is some legacy stuff. More of our stuff breaks on v0.10, and even this code doesn't work on v0.8, so I'm just taking it out. The value for v0.11+ is 1
.
3a02b4b
to
164347a
Compare
@freitagbr PTAL |
LGTM |
@freitagbr can you approve the changes? |
This is an automated PR, so double check that I got all the test cases. I'll follow up once I've verified that this translates everything correctly.