Commit 90a79b3
test: refactor test-timers-this
* use common.mustCall() and eliminate exit handler
* provide timer durtion of 1ms where previously omitted
* var -> const
PR-URL: #10315
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>1 parent fa11f4b commit 90a79b3Copy full SHA for 90a79b3
File tree
Expand file treeCollapse file tree
1 file changed
+20
-36
lines changedOpen diff view settings
Filter options
- test/parallel
Expand file treeCollapse file tree
1 file changed
+20
-36
lines changedOpen diff view settings
Collapse file
test/parallel/test-timers-this.js
Copy file name to clipboard+20-36Lines changed: 20 additions & 36 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | | - |
3 | | - |
| 2 | + |
| 3 | + |
4 | 4 | |
5 | | - |
6 | | - |
| 5 | + |
| 6 | + |
| 7 | + |
7 | 8 | |
8 | | - |
9 | | - |
10 | | - |
| 9 | + |
| 10 | + |
| 11 | + |
11 | 12 | |
12 | | - |
13 | | - |
14 | | - |
15 | | - |
16 | | - |
| 13 | + |
17 | 14 | |
| 15 | + |
| 16 | + |
18 | 17 | |
19 | | - |
20 | | - |
21 | | - |
22 | | - |
| 18 | + |
23 | 19 | |
| 20 | + |
| 21 | + |
24 | 22 | |
25 | | - |
26 | | - |
27 | | - |
28 | | - |
29 | | - |
30 | | - |
31 | | - |
32 | | - |
33 | | - |
34 | | - |
35 | | - |
36 | | - |
37 | | - |
38 | | - |
39 | | - |
40 | | - |
41 | | - |
| 23 | + |
| 24 | + |
| 25 | + |
42 | 26 | |
43 | | - |
44 | | - |
45 | | - |
| 27 | + |
| 28 | + |
| 29 | + |
0 commit comments