node/test/wpt/test-microtask-queuing.js
Joyee Cheung 47aa17274a
test: run html/webappapis/microtask-queuing WPT
PR-URL: https://github.com/nodejs/node/pull/25616
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Gus Caplan <me@gus.host>
2019-01-25 00:12:12 +08:00

14 lines
314 B
JavaScript

'use strict';
// Flags: --expose-internals
require('../common');
const { WPTRunner } = require('../common/wpt');
const runner = new WPTRunner('html/webappapis/microtask-queuing');
// Copy global descriptors from the global object
runner.copyGlobalsFromObject(global, ['queueMicrotask']);
runner.runJsTests();