Skip to content

Commit

Permalink
chore(linter): fix e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
leosvelperez committed Nov 21, 2024
1 parent 2395bb2 commit 5ebd437
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions e2e/eslint/src/linter.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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`);
Expand Down Expand Up @@ -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`);
Expand Down Expand Up @@ -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`);
Expand Down

0 comments on commit 5ebd437

Please sign in to comment.