From 5ebd437814e3be4c6b524dcdd3bcfa5121930dfc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leosvel=20P=C3=A9rez=20Espinosa?= Date: Wed, 20 Nov 2024 16:14:24 +0100 Subject: [PATCH] chore(linter): fix e2e tests --- e2e/eslint/src/linter.test.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/e2e/eslint/src/linter.test.ts b/e2e/eslint/src/linter.test.ts index be3cac409ebbea..75481b307c3ba5 100644 --- a/e2e/eslint/src/linter.test.ts +++ b/e2e/eslint/src/linter.test.ts @@ -703,6 +703,7 @@ describe('Linter', () => { expect(e2eOverrides).toContain('plugin:@nx/javascript'); runCLI(`generate @nx/js:lib libs/${mylib} --unitTestRunner=jest`); + runCLI('reset', { env: { CI: 'false' } }); verifySuccessfulMigratedSetup(myapp, mylib); appEslint = readJson(`.eslintrc.json`); @@ -737,6 +738,7 @@ describe('Linter', () => { expect(e2eOverrides).toContain('plugin:@nx/javascript'); runCLI(`generate @nx/js:lib libs/${mylib} --no-interactive`); + runCLI('reset', { env: { CI: 'false' } }); verifySuccessfulMigratedSetup(myapp, mylib); appEslint = readJson(`.eslintrc.json`); @@ -771,6 +773,7 @@ describe('Linter', () => { expect(e2eOverrides).toContain('plugin:@nx/typescript'); runCLI(`generate @nx/js:lib libs/${mylib} --no-interactive`); + runCLI('reset', { env: { CI: 'false' } }); verifySuccessfulMigratedSetup(myapp, mylib); appEslint = readJson(`.eslintrc.json`);