Skip to content

Commit 3798b54

Browse files
committed
test: add localStorage and sessionStorage to globalThis test
1 parent 8c1c5bd commit 3798b54

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/parallel/test-global.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ for (const moduleName of builtinModules) {
5959
'fetch',
6060
'crypto',
6161
'navigator',
62+
'localStorage',
63+
'sessionStorage',
6264
];
6365
assert.deepStrictEqual(new Set(Object.keys(globalThis)), new Set(expected));
6466
expected.forEach((value) => {

0 commit comments

Comments
 (0)