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

tests: node 10 compat #5106

Merged
merged 1 commit into from
May 3, 2018
Merged

tests: node 10 compat #5106

merged 1 commit into from
May 3, 2018

Conversation

paulirish
Copy link
Member

avoids this terribly useless error message:
image

Copy link
Collaborator

@patrickhulce patrickhulce left a comment

Choose a reason for hiding this comment

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

1️⃣ 0️⃣

Copy link
Member

@brendankenny brendankenny left a comment

Choose a reason for hiding this comment

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

apparently using a string as the second argument was never supported: https://nodejs.org/api/assert.html#assert_assert_throws_block_error_message

and that string was being used as the message if they assert failed. Terrible error message from node to alert us to that, though :)

@paulirish paulirish merged commit aad3aa6 into master May 3, 2018
@paulirish paulirish deleted the node10 branch May 3, 2018 23:27
kdzwinel pushed a commit to kdzwinel/lighthouse that referenced this pull request Aug 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants