Skip to content

Commit

Permalink
fix(core): strip command from misc test output
Browse files Browse the repository at this point in the history
  • Loading branch information
meeroslav committed Mar 29, 2023
1 parent e4be316 commit 817fb43
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion e2e/nx-misc/src/misc.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ describe('Nx Commands', () => {
it('should show the list of projects', () => {
const app1 = uniq('myapp');
const app2 = uniq('myapp');
expect(runCLI('show projects')).toEqual('');
expect(
runCLI('show projects').replace(/.*nx show projects( --verbose)?\n/, '')
).toEqual('');

runCLI(`generate @nrwl/web:app ${app1}`);
runCLI(`generate @nrwl/web:app ${app2}`);
Expand Down

0 comments on commit 817fb43

Please sign in to comment.