diff --git a/__tests__/commands/global.js b/__tests__/commands/global.js index 5e22d1cb59..669f867896 100644 --- a/__tests__/commands/global.js +++ b/__tests__/commands/global.js @@ -77,7 +77,7 @@ test.concurrent('bin', (): Promise => { const tmpGlobalFolder = getTempGlobalFolder(); return runGlobal(['bin'], {prefix: tmpGlobalFolder}, 'add-with-prefix-flag', (config, reporter, install, getStdout) => { - expect(getStdout()).toContain(path.join(tmpGlobalFolder, 'bin')); + expect(getStdout()).toContain(tmpGlobalFolder); }); });