Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test/parallel/test-fs-stat-bigint.js
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ if (!common.isWindows) {
const bigintStats = await handle.stat(common.mustNotMutateObjectDeep({ bigint: true }));
const numStats = await handle.stat();
const endTime = process.hrtime.bigint();
const allowableDelta = Math.ceil(Number(endTime - startTime) / 1e6);
const allowableDelta = Number((endTime - startTime) / 1000000n) + 1;
verifyStats(bigintStats, numStats, allowableDelta);
await handle.close();
})().then(common.mustCall());