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
snitin315 and mdjermanovic committed Jan 6, 2024
1 parent 5a1d605 commit f43c6c5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/lib/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -1011,6 +1011,7 @@ describe("cli", () => {
const filePath = getFixturePath("single-quoted.js");
const code = `${flag} --rule 'quotes: [1, single]' --o tests/output/eslint-output.txt ${filePath}`;

// TODO: fix this test to: await cli.execute(code, null, useFlatConfig);
await cli.execute(code, "var a = 'b'", useFlatConfig);

assert.isTrue(fs.existsSync("tests/output/eslint-output.txt"));
Expand Down

0 comments on commit f43c6c5

Please sign in to comment.