Skip to content

Commit 460a439

Browse files
committed
test: putout: coverage
1 parent d03ce52 commit 460a439

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

packages/plugin-variables/.nycrc.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
"exclude": [
55
"**/*.spec.*",
66
"**/fixture",
7-
"**/fixture.js",
87
"test",
98
".*.*",
109
"**/*.config.*"

packages/plugin-variables/lib/remove-unused/fixture.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,10 @@ export const readFixtures = (names) => {
2828

2929
const handler = {
3030
get(obj, prop) {
31+
/* c8 ignore start */
3132
if (!obj[prop])
3233
throw Error(`"${prop}" not found!`);
34+
/* c8 ignore end */
3335

3436
return obj[prop];
3537
},

0 commit comments

Comments
 (0)