Skip to content

Commit 5bffcf6

Browse files
joyeecheungaddaleax
authored andcommitted
test: run html/webappapis/timers WPT
PR-URL: #25618 Reviewed-By: James M Snell <[email protected]>
1 parent 5792208 commit 5bffcf6

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{}

test/wpt/test-timers.js

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
'use strict';
2+
3+
// Flags: --expose-internals
4+
5+
require('../common');
6+
const { WPTRunner } = require('../common/wpt');
7+
8+
const runner = new WPTRunner('html/webappapis/timers');
9+
10+
// Copy global descriptors from the global object
11+
runner.copyGlobalsFromObject(global, [
12+
'setInterval',
13+
'clearInterval',
14+
'setTimeout',
15+
'clearTimeout'
16+
]);
17+
18+
runner.runJsTests();

0 commit comments

Comments
 (0)