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

Ensure all test scripts fail on uncaught exceptions. #34

Merged
merged 2 commits into from
Oct 6, 2020

Conversation

rwjblue
Copy link
Collaborator

@rwjblue rwjblue commented Oct 6, 2020

No description provided.

@rwjblue
Copy link
Collaborator Author

rwjblue commented Oct 6, 2020

This is failing (I think) because volta removes itself from $PATH when executing. Since the test scripts are themselves node scripts...

@rwjblue rwjblue force-pushed the fail-on-uncaught-exceptions branch 12 times, most recently from 6915a1e to 067558d Compare October 6, 2020 18:48
@rwjblue rwjblue force-pushed the fail-on-uncaught-exceptions branch from 067558d to ad429c4 Compare October 6, 2020 20:48
Comment on lines +45 to +46
- run: volta install node@10.17.0 yarn@1.19.0
- run: tests/check-version.sh 'node' 'v10.17.0'
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

--unhandled-rejections flag was added in 10.17

@rwjblue rwjblue merged commit b4410cc into master Oct 6, 2020
@rwjblue rwjblue deleted the fail-on-uncaught-exceptions branch October 6, 2020 22:03
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.

1 participant