(stats)
| 44 | |
| 45 | // Ensure that accessed atime and mtime are enumerable |
| 46 | function validateEnumerability(stats) { |
| 47 | const keys = Object.keys(stats); |
| 48 | assert.ok(keys.includes('atime')); |
| 49 | assert.ok(keys.includes('mtime')); |
| 50 | } |
| 51 | |
| 52 | async function runTest(atime, mtime, margin = 0) { |
| 53 | margin += Number.EPSILON; |