From 068db23ad8d152db21b6ee15505d205bafa75272 Mon Sep 17 00:00:00 2001 From: Cory Miller <13227161+cory-miller@users.noreply.github.com> Date: Fri, 17 Feb 2023 19:58:32 +0000 Subject: [PATCH] add debug logs --- packages/io/__tests__/io.test.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/io/__tests__/io.test.ts b/packages/io/__tests__/io.test.ts index 8c10f86d..e2b7197b 100644 --- a/packages/io/__tests__/io.test.ts +++ b/packages/io/__tests__/io.test.ts @@ -200,11 +200,13 @@ describe('mv', () => { const root = path.join(getTestTemp(), ' mv_with_no_flags') const sourceFile = path.join(root, ' mv_source') const targetFile = path.join(root, ' mv_target') + console.log('make') await io.mkdirP(root) + console.log('write') await fs.writeFile(sourceFile, 'test file content', {encoding: 'utf8'}) - + console.log('move') await io.mv(sourceFile, targetFile) - + console.log('read') expect(await fs.readFile(targetFile, {encoding: 'utf8'})).toBe( 'test file content' )