Skip to content

Conversation

nlf
Copy link

@nlf nlf commented Nov 29, 2022

there was a slight change in the error messaging for JSON.parse that caused some assertions to fail so i added a second parameter to alter the input we're asserting against to more appropriately match the expected error. this gets tests passing in node 19+

@dougwilson
Copy link
Contributor

Hi @nlf thanks for the reminder! The change is more than just a test issue, as it changes the actually way the error messages are constructed too (you'll notice the output when using the module is incorrect under Node.js 19). I started the fix on a branch with commit 495ee64 . I was testing it and it seems fine, just forgot to get it past the finish line.

@dougwilson dougwilson added the pr label Nov 29, 2022
@nlf
Copy link
Author

nlf commented Nov 30, 2022

no worries! you're right, your commit looks good and seems to pass tests for me. this can be closed at any time. thanks @dougwilson!

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