Skip to content

Commit 32bd471

Browse files
committed
fix: expose internal module for testing
1 parent 47d08c0 commit 32bd471

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/parallel/test-crypto-subtle-cross-realm.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
'use strict';
2-
2+
// Flags: --expose-internals
33
const common = require('../common');
44
if (!common.hasCrypto)
55
common.skip('missing crypto');
66

77
const assert = require('assert');
8-
const { subtle } = crypto;
8+
const { subtle } = globalThis.crypto;
99
const vm = require('vm');
1010
const { isArrayBuffer } = require('internal/util/types');
1111

0 commit comments

Comments
 (0)