Skip to content
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

Merged
merged 1 commit into from
Nov 27, 2016
Merged

test: refactor 'set' tests to AVA #576

merged 1 commit into from
Nov 27, 2016

Conversation

nfischer
Copy link
Member

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.

});

const nodeVersion = process.versions.node.split('.').map(str => parseInt(str, 10));
const uncaughtErrorExitCode = (nodeVersion[0] === 0 && nodeVersion[1] < 11) ? 8 : 1;
Copy link
Contributor

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.

Copy link
Member Author

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.

@nfischer
Copy link
Member Author

@freitagbr PTAL

@nfischer nfischer changed the title test: refactor set tests to AVA test: refactor 'set' tests to AVA Nov 24, 2016
@freitagbr
Copy link
Contributor

LGTM

@nfischer
Copy link
Member Author

@freitagbr can you approve the changes?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants