From d10add2fc4c0ed4d1daa69a0bebe7037f85023ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leosvel=20P=C3=A9rez=20Espinosa?= Date: Thu, 23 Feb 2023 14:18:25 +0000 Subject: [PATCH] chore(core): add e2e test case --- e2e/nx-run/src/run.test.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/e2e/nx-run/src/run.test.ts b/e2e/nx-run/src/run.test.ts index 3e4ff908653c7..4f0413560f1ac 100644 --- a/e2e/nx-run/src/run.test.ts +++ b/e2e/nx-run/src/run.test.ts @@ -178,6 +178,13 @@ describe('Nx Running Tests', () => { runCLI(`build ${myapp}`); }, 10000); + it('should support project name positional arg non-consecutive to target', () => { + const myapp = uniq('app'); + runCLI(`generate @nrwl/web:app ${myapp}`); + + runCLI(`build --verbose ${myapp}`); + }, 10000); + it('should run targets from package json', () => { const myapp = uniq('app'); const target = uniq('script');