diff --git a/e2e/nx-misc/src/misc.test.ts b/e2e/nx-misc/src/misc.test.ts index 016f34fc0b23b..1613e20683252 100644 --- a/e2e/nx-misc/src/misc.test.ts +++ b/e2e/nx-misc/src/misc.test.ts @@ -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}`);