Skip to content

Commit ba25853

Browse files
committed
Improve coverage
1 parent b5313a5 commit ba25853

2 files changed

Lines changed: 15 additions & 0 deletions

File tree

tests/integration/__tests__/config-invalid.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,3 +164,17 @@ describe("Invalid yaml file", () => {
164164
),
165165
});
166166
});
167+
168+
describe("Invalid config value", () => {
169+
runCli("cli/config/invalid", [
170+
"--config",
171+
"invalid-config-value/prettier.config.mjs",
172+
"--parser",
173+
"babel",
174+
]).test({
175+
status: 0,
176+
stdout: "",
177+
write: [],
178+
stderr: "",
179+
});
180+
});
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export default undefined

0 commit comments

Comments
 (0)