diff --git a/test/global.test.ts b/test/global.test.ts index 70868189..85258a89 100644 --- a/test/global.test.ts +++ b/test/global.test.ts @@ -11,9 +11,7 @@ describe('global', () => { // TODO: Hangs on Windows const itSkipWindows = process.platform === 'win32' ? it.skip : it itSkipWindows('global should run', async () => { - // to speed up the test, only check npm (which is always installed globally) - const { stdout } = await spawn('node', [bin, '--jsonAll', '--global', 'npm']) - const json = JSON.parse(stdout) - expect(json).to.have.property('npm') + const { stdout } = await spawn('node', [bin, '--global', 'npm']) + expect(JSON.parse(stdout)) }) })