Skip to content

Commit

Permalink
cleanup(node): update e2e test expectations
Browse files Browse the repository at this point in the history
  • Loading branch information
leosvelperez committed Feb 3, 2025
1 parent dfb66ca commit e444549
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions e2e/node/src/node-ts-solution.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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!');
Expand Down Expand Up @@ -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}`,
Expand Down

0 comments on commit e444549

Please sign in to comment.