(run)
| 11 | `; |
| 12 | |
| 13 | export async function test(run) { |
| 14 | const curNow = Date.now(); |
| 15 | const { stdout, stderr } = await run(); |
| 16 | strictEqual(stderr, ''); |
| 17 | const times = stdout.split('\n'); |
| 18 | ok(Number(times[0]) > curNow); |
| 19 | ok(times[1] - times[0] > 0); |
| 20 | } |