Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a2d7a0c

Browse files
committed
test for invariant
1 parent d363805 commit a2d7a0c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

scripts/eslint-rules/__tests__/no-production-logging-test.internal.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ ruleTester.run('no-production-logging', rule, {
2727
{
2828
code: 'normalFunctionCall(test)',
2929
},
30+
{
31+
code: 'invariant(test)',
32+
},
3033
{
3134
code: 'if (__DEV__) {normalFunctionCall(test)}',
3235
},

0 commit comments

Comments
 (0)