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

Replace deprecated assert.deepStrictEqual() in spec.js #23

Closed
dpilafian opened this issue Oct 3, 2020 · 0 comments · Fixed by #24
Closed

Replace deprecated assert.deepStrictEqual() in spec.js #23

dpilafian opened this issue Oct 3, 2020 · 0 comments · Fixed by #24
Labels

Comments

@dpilafian
Copy link
Member

dpilafian commented Oct 3, 2020

The function assert.deepEqual() has been deprecated:
https://nodejs.org/api/assert.html#assert_assert_deepequal_actual_expected_message

Replace with:
assert.deepStrictEqual()

And change:

const assert = require('assert').strict;

to:

const assert = require('assert');
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 a pull request may close this issue.

1 participant