mirror of
https://github.com/nodejs/node.git
synced 2024-11-24 20:29:23 +01:00
ffdbdf4ab1
PR-URL: https://github.com/nodejs/node/pull/46498 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Richard Lau <rlau@redhat.com>
14 lines
265 B
JavaScript
14 lines
265 B
JavaScript
'use strict';
|
|
|
|
const common = require('../common');
|
|
if (!common.hasCrypto)
|
|
common.skip('missing crypto');
|
|
|
|
const { WPTRunner } = require('../common/wpt');
|
|
|
|
const runner = new WPTRunner('WebCryptoAPI');
|
|
|
|
runner.pretendGlobalThisAs('Window');
|
|
|
|
runner.runJsTests();
|