From e444549d5a91d8b50dcf948039f234e6c27eb3bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leosvel=20P=C3=A9rez=20Espinosa?= Date: Mon, 3 Feb 2025 16:39:59 +0100 Subject: [PATCH] cleanup(node): update e2e test expectations --- e2e/node/src/node-ts-solution.test.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/e2e/node/src/node-ts-solution.test.ts b/e2e/node/src/node-ts-solution.test.ts index ec15e7a5aaae2..4323815b3c082 100644 --- a/e2e/node/src/node-ts-solution.test.ts +++ b/e2e/node/src/node-ts-solution.test.ts @@ -49,8 +49,8 @@ describe('Node Applications', () => { updateFile(`apps/${nodeapp}/src/main.ts`, `console.log('Hello World!');`); runCLI(`build ${nodeapp}`); - checkFilesExist(`dist/apps/${nodeapp}/main.js`); - const result = execSync(`node dist/apps/${nodeapp}/main.js`, { + checkFilesExist(`apps/${nodeapp}/dist/main.js`); + const result = execSync(`node apps/${nodeapp}/dist/main.js`, { cwd: tmpProjPath(), }).toString(); expect(result).toContain('Hello World!'); @@ -144,7 +144,7 @@ describe('Node Applications', () => { expect(() => runCLI(`test ${nestapp}`)).not.toThrow(); runCLI(`build ${nestapp}`); - checkFilesExist(`dist/apps/${nestapp}/main.js`); + checkFilesExist(`apps/${nestapp}/dist/main.js`); const p = await runCommandUntil( `serve ${nestapp}`,