Skip to content

Commit

Permalink
Update tests/lib/cli.js
Browse files Browse the repository at this point in the history
Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com>
  • Loading branch information
nzakas and mdjermanovic committed Dec 20, 2023
1 parent d2de70c commit 70763c4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/lib/cli.js
Expand Up @@ -818,8 +818,6 @@ describe("cli", () => {
const exit = await cli.execute("--pass-on-no-patterns", null, useFlatConfig);

assert.isFalse(log.info.called);

// When eslintrc is used, we get an exit code of 2 because the --no-warn-ignored option is unrecognized.
assert.strictEqual(exit, 0);
});

Expand Down

0 comments on commit 70763c4

Please sign in to comment.