(func, arg)
| 94 | } |
| 95 | |
| 96 | const runSyncTest = (func, arg) => { |
| 97 | const startTime = process.hrtime.bigint(); |
| 98 | const bigintStats = func(arg, common.mustNotMutateObjectDeep({ bigint: true })); |
| 99 | const numStats = func(arg); |
| 100 | const endTime = process.hrtime.bigint(); |
| 101 | const allowableDelta = Math.ceil(Number(endTime - startTime) / 1e6); |
| 102 | verifyStats(bigintStats, numStats, allowableDelta); |
| 103 | }; |
| 104 | |
| 105 | { |
| 106 | const filename = getFilename(); |
no test coverage detected
searching dependent graphs…