Skip to content

Commit 08ad38c

Browse files
committed
Chore: add valid test.
1 parent c7400c1 commit 08ad38c

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

tests/lib/rules/prefer-output-null.js

+9
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,15 @@ ruleTester.run('prefer-output-null', rule, {
3737
]
3838
});
3939
`,
40+
`
41+
new RuleTester().run('foo', bar, {
42+
valid: [
43+
'foo'
44+
],
45+
invalid: []
46+
});
47+
`,
48+
4049
],
4150

4251
invalid: [

0 commit comments

Comments
 (0)