()
| 243 | |
| 244 | // Check first call to close() - should not report an error. |
| 245 | async function doAsyncIterDirClosedTest() { |
| 246 | const dir = await fs.promises.opendir(testDir); |
| 247 | await dir.close(); |
| 248 | await assert.rejects(() => dir.close(), dirclosedError); |
| 249 | } |
| 250 | doAsyncIterDirClosedTest().then(common.mustCall()); |
| 251 | |
| 252 | // Check that readSync() and closeSync() during read() throw exceptions |
no test coverage detected
searching dependent graphs…