(dir)
| 27 | }); |
| 28 | |
| 29 | function assertDir(dir) { |
| 30 | assert(dir instanceof fs.Dir); |
| 31 | assert.throws(() => dir.constructor.prototype.path, { |
| 32 | code: 'ERR_INVALID_THIS', |
| 33 | }); |
| 34 | } |
| 35 | |
| 36 | function assertDirent(dirent) { |
| 37 | assert(dirent instanceof fs.Dirent); |
no test coverage detected
searching dependent graphs…