Skip to content

Commit 102161a

Browse files
committed
Chore: add valid test.
1 parent c7400c1 commit 102161a

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+
invalid: [
44+
'foo'
45+
]
46+
});
47+
`,
48+
4049
],
4150

4251
invalid: [

0 commit comments

Comments
 (0)