Skip to content

Commit

Permalink
chore(node): fix e2e tests and add implicit dependency on @nx/webpack (
Browse files Browse the repository at this point in the history
  • Loading branch information
jaysoo authored Nov 8, 2023
1 parent e6445c0 commit 80ec78a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion e2e/node/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
"targets": {
"e2e": {}
},
"implicitDependencies": ["node", "nest"]
"implicitDependencies": ["node", "nest", "webpack"]
}
2 changes: 1 addition & 1 deletion e2e/node/src/node-webpack.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ describe('Node Applications + webpack', () => {

await runCLIAsync(`build ${app} --optimization`);
const optimizedContent = readFile(`dist/apps/${app}/main.js`);
expect(optimizedContent).toContain('console.log("foo "+"bar")');
expect(optimizedContent).toContain('console.log("foo bar")');

// Test that serve can re-run dependency builds.
const lib = uniq('nodelib');
Expand Down

0 comments on commit 80ec78a

Please sign in to comment.