From 2c56dd7a402730d9a89f0d90eb6871710300c351 Mon Sep 17 00:00:00 2001 From: GP Date: Thu, 6 Jun 2024 12:23:11 +0530 Subject: [PATCH] chore: remove 'only' tests --- test/main.test.ts | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/test/main.test.ts b/test/main.test.ts index 454612d2..b75488d3 100644 --- a/test/main.test.ts +++ b/test/main.test.ts @@ -507,11 +507,11 @@ t.test( ); t.test( - '🧪 run() should correctly switch the working directory if given.',{ only: true }, + '🧪 run() should correctly switch the working directory if given.', async (t) => { t.plan(1); t.teardown(() => sandbox.restore()); - + nock('http://localhost.test') .get('/dummy-cc-reporter') .reply(200, async () => { @@ -529,10 +529,7 @@ t.test( }); const CUSTOM_WORKDIR = await realpath(tmpdir()); - const filePath = joinPath( - CUSTOM_WORKDIR, - `./test.${EXE_EXT}` - ); + const filePath = joinPath(CUSTOM_WORKDIR, `./test.${EXE_EXT}`); try { await run({