Skip to content

Commit

Permalink
chore: fix global test fixture for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
wraithgar committed Jun 22, 2022
1 parent 760dfad commit c4b6513
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions test/lib/commands/query.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,17 @@ t.test('global', async t => {
config: {
global: true,
},
// This is a global dir that works in both windows and non-windows, that's
// why it has two node_modules folders
globalPrefixDir: {
node_modules: {
lorem: {
'package.json': JSON.stringify({
name: 'lorem',
version: '2.0.0',
}),
},
},
lib: {
node_modules: {
lorem: {
Expand Down

0 comments on commit c4b6513

Please sign in to comment.