Commit f3518f3
test: use
`process.hrtime` is legacy. So replace `process.hrtime` with
`process.hrtime.bigint` in test.
Refs: https://github.com/nodejs/node/blob/main/doc/api/process.md#processhrtimetime
Signed-off-by: Deokjin Kim <deokjin81.kim@gmail.com>
PR-URL: #45877
Refs: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>process.hrtime.bigint instead of process.hrtime
1 parent b239f06 commit f3518f3Copy full SHA for f3518f3
File tree
Expand file treeCollapse file tree
1 file changed
+10
-8
lines changedOpen diff view settings
Filter options
- test/parallel
Expand file treeCollapse file tree
1 file changed
+10
-8
lines changedOpen diff view settings
Collapse file
test/parallel/test-http2-session-timeout.js
Copy file name to clipboardExpand all lines: test/parallel/test-http2-session-timeout.js+10-8Lines changed: 10 additions & 8 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
5 | 5 | |
6 | 6 | |
7 | 7 | |
| 8 | + |
| 9 | + |
8 | 10 | |
9 | 11 | |
10 | 12 | |
| ||
14 | 16 | |
15 | 17 | |
16 | 18 | |
17 | | - |
| 19 | + |
18 | 20 | |
19 | 21 | |
20 | 22 | |
| ||
24 | 26 | |
25 | 27 | |
26 | 28 | |
27 | | - |
| 29 | + |
28 | 30 | |
29 | 31 | |
30 | 32 | |
| ||
40 | 42 | |
41 | 43 | |
42 | 44 | |
43 | | - |
44 | | - |
45 | | - |
| 45 | + |
| 46 | + |
| 47 | + |
46 | 48 | |
47 | 49 | |
48 | 50 | |
49 | 51 | |
50 | | - |
51 | | - |
| 52 | + |
| 53 | + |
52 | 54 | |
53 | | - |
| 55 | + |
54 | 56 | |
55 | 57 | |
56 | 58 | |
|
0 commit comments