diff options
author | nlf <quitlahok@gmail.com> | 2022-01-20 23:37:57 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-20 23:37:57 +0300 |
commit | 14a3d95000f1cba937f3309d198a363ae65cf01f (patch) | |
tree | a1bd9458b339bd86e61e3253d2af2975954cee4b /test | |
parent | c99c2151a868672c017f64ff0ecb12149a2fb095 (diff) |
fix: resolve workspace paths from cwd when possible (#4265)
Diffstat (limited to 'test')
-rw-r--r-- | test/lib/arborist-cmd.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lib/arborist-cmd.js b/test/lib/arborist-cmd.js index 3db862d23..91d8a7b33 100644 --- a/test/lib/arborist-cmd.js +++ b/test/lib/arborist-cmd.js @@ -98,7 +98,7 @@ t.test('handle getWorkspaces raising an error', async t => { }) class TestCmd extends ArboristCmd {} const cmd = new TestCmd() - cmd.npm = {} + cmd.npm = { localPrefix: t.testdir() } await t.rejects( cmd.execWorkspaces(['foo'], ['a']), |