Skip to content

Commit f95a743

Browse files
committed
test: adjust __proto__ assertion
1 parent 37f9d83 commit f95a743

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/async-hooks/test-async-wrap-providers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const assert = require('assert');
88
const { asyncWrapProviders } = require('async_hooks');
99

1010
assert.ok(typeof asyncWrapProviders === 'object');
11-
assert.deepStrictEqual(asyncWrapProviders, providers);
11+
assert.deepStrictEqual(asyncWrapProviders, { __proto__: null, ...providers });
1212

1313
const providerKeys = Object.keys(asyncWrapProviders);
1414
assert.throws(() => {

0 commit comments

Comments
 (0)