From fe0fbdccdea3ba8e53f654d4a7d6a7a7ef8d5083 Mon Sep 17 00:00:00 2001 From: Cory Miller <13227161+cory-miller@users.noreply.github.com> Date: Tue, 21 Feb 2023 17:19:17 +0000 Subject: [PATCH] test debug --- packages/io/__tests__/io.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/io/__tests__/io.test.ts b/packages/io/__tests__/io.test.ts index 829e0dd9..de1f357e 100644 --- a/packages/io/__tests__/io.test.ts +++ b/packages/io/__tests__/io.test.ts @@ -328,12 +328,12 @@ describe('rmRF', () => { const filePath = path.join(testPath, 'file.txt') await fs.appendFile(filePath, 'some data') await assertExists(filePath) - + console.log('before remove while open') const fd = await fs.open(filePath, 'r') await io.rmRF(testPath) await assertNotExists(testPath) - + console.log('before remove after closed') await fd.close() await io.rmRF(testPath) await assertNotExists(testPath)