diff --git a/test.js b/test.js index 58e995b..57a4706 100644 --- a/test.js +++ b/test.js @@ -363,7 +363,7 @@ test('throws when specifying a file as cwd - stream', t => { }, 'The `cwd` option must be a path to a directory'); }); -test('ignore when specifying a noexist directory as cwd - async', async t => { +test('don't throw when specifying a non-existing cwd directory - async', async t => { const actual = await globby('.', {cwd: '/unknown'}); t.true(actual.length === 0); });