blob: f90ffa9ad5316b5a7114f3738b6f1754050b228d [file] [edit]
'use strict';
const common = require('../common');
if (!common.hasCrypto)
common.skip('missing crypto');
const { WPTRunner } = require('../common/wpt');
const runner = new WPTRunner('WebCryptoAPI');
// Set Node.js flags required for the tests.
runner.setFlags(['--experimental-global-webcrypto']);
runner.setInitScript(`
global.location = {};
`);
runner.runJsTests();