summaryrefslogtreecommitdiff
path: root/test/wpt/test-timers.js
blob: 4d3423054002159390994e957f044ef6b39824bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
'use strict';

require('../common');
const { WPTRunner } = require('../common/wpt');

const runner = new WPTRunner('html/webappapis/timers');

// Copy global descriptors from the global object
runner.copyGlobalsFromObject(global, [
  'setInterval',
  'clearInterval',
  'setTimeout',
  'clearTimeout'
]);

runner.runJsTests();