test: use `process.hrtime.bigint` instead of `process.hrtime` · nodejs/node@2807efa · GitHub
Skip to content

Commit 2807efa

Browse files
deokjinkimRafaelGSS
authored andcommitted
test: use process.hrtime.bigint instead of process.hrtime
`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>
1 parent 49253e1 commit 2807efa

1 file changed

Lines changed: 10 additions & 8 deletions

File tree

test/parallel/test-http2-session-timeout.js

Lines changed: 10 additions & 8 deletions

0 commit comments

Comments
 (0)