From 21b5a14ea82d71493402c1207485d76ebe885973 Mon Sep 17 00:00:00 2001 From: ngryman Date: Fri, 21 Aug 2020 13:45:54 +0200 Subject: [PATCH] :bug: remove the current directory test This test is changing the CWD and may affect other tests randomly, even if it's serial. It's "okay" to not test this feature anyway. --- test.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/test.js b/test.js index eb7bd17..ad43a55 100644 --- a/test.js +++ b/test.js @@ -24,13 +24,6 @@ test('accept a limit parameter', async t => { t.is(contribs.length, 100) }) -test.serial('use current directory by default', async t => { - process.chdir('fixtures') - const contribs = await contributors() - t.true(Array.isArray(contribs)) - process.chdir(__dirname) -}) - test('list contributors as html', async t => { const html = await contributors.html('fixtures') t.regex(html, //)