From 7f4802374c2366888da55f882c64a6a6c4318a39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Jona=C5=A1?= Date: Mon, 21 Nov 2022 14:59:28 +0100 Subject: [PATCH] chore(core): invert nx daemon tests from enable to disable (#13290) --- e2e/nx-run/src/run.test.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/e2e/nx-run/src/run.test.ts b/e2e/nx-run/src/run.test.ts index 2e4980eda1adf..d04314608a266 100644 --- a/e2e/nx-run/src/run.test.ts +++ b/e2e/nx-run/src/run.test.ts @@ -224,18 +224,18 @@ describe('Nx Running Tests', () => { expect(runCLI(`echo ${myapp}`)).toContain('inferred-target'); }); - it('should build a specific project with the daemon enabled', () => { + it('should build a specific project with the daemon disabled', () => { const myapp = uniq('app'); runCLI(`generate @nrwl/web:app ${myapp}`); const buildWithDaemon = runCLI(`build ${myapp}`, { - env: { ...process.env, NX_DAEMON: 'true' }, + env: { ...process.env, NX_DAEMON: 'false' }, }); expect(buildWithDaemon).toContain('Successfully ran target build'); const buildAgain = runCLI(`build ${myapp}`, { - env: { ...process.env, NX_DAEMON: 'true' }, + env: { ...process.env, NX_DAEMON: 'false' }, }); expect(buildAgain).toContain('[local cache]'); @@ -438,9 +438,9 @@ describe('Nx Running Tests', () => { expect(buildConfig).toContain(`run ${libC}:build`); expect(buildConfig).toContain('Successfully ran target build'); - // testing run many with daemon enabled + // testing run many with daemon disabled const buildWithDaemon = runCLI(`run-many --target=build`, { - env: { ...process.env, NX_DAEMON: 'true' }, + env: { ...process.env, NX_DAEMON: 'false' }, }); expect(buildWithDaemon).toContain(`Successfully ran target build`); }, 1000000);