diff --git a/__tests__/e2e.test.ts b/__tests__/e2e.test.ts index c95178c5..1fc8ce3a 100644 --- a/__tests__/e2e.test.ts +++ b/__tests__/e2e.test.ts @@ -117,7 +117,7 @@ test('Passes in the react-passing test project', async () => { test('Passes in the next-js-passing test project', async () => { const { stdout, stderr } = await execaCommand( - '../../../../bin/preflight.js', + `${process.cwd()}/bin/preflight.js`, { cwd: `${fixturesTempDir}/next-js-passing`, },