We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
prefer-t-regex
1 parent 608340a commit f0c9394Copy full SHA for f0c9394
test/prefer-t-regex.js
@@ -34,6 +34,8 @@ ruleTester.run('prefer-t-regex', rule, {
34
header + 'test(t => t.regex(foo, RegExp(/\\d+/)));',
35
// Shouldn't be triggered since it's not a test file
36
'test(t => t.true(/\\d+/.test("foo")));',
37
+ // Not valid, but it shouldn't cause errors
38
+ 'test(t => t.true());',
39
],
40
invalid: [
41
{
0 commit comments