Skip to content

Commit

Permalink
test: adjust __proto__ assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
RafaelGSS committed Nov 11, 2021
1 parent 37f9d83 commit f95a743
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/async-hooks/test-async-wrap-providers.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const assert = require('assert');
const { asyncWrapProviders } = require('async_hooks');

assert.ok(typeof asyncWrapProviders === 'object');
assert.deepStrictEqual(asyncWrapProviders, providers);
assert.deepStrictEqual(asyncWrapProviders, { __proto__: null, ...providers });

const providerKeys = Object.keys(asyncWrapProviders);
assert.throws(() => {
Expand Down

0 comments on commit f95a743

Please sign in to comment.