Skip to content

Commit ae78045

Browse files
committed
test(valid-describe-callback): Add test case for async describe with tags
1 parent 777ab12 commit ae78045

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/rules/valid-describe-callback.test.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ runRuleTester('valid-describe-callback', rule, {
2828
code: 'test.describe("foo", async () => {})',
2929
errors: [{ column: 22, line: 1, messageId: 'noAsyncDescribeCallback' }],
3030
},
31+
{
32+
code: 'test.describe("foo", { tag: ["@slow"] }, async () => {})',
33+
errors: [{ column: 42, line: 1, messageId: 'noAsyncDescribeCallback' }],
34+
},
3135
{
3236
code: 'test.describe("foo", async function () {})',
3337
errors: [{ column: 22, line: 1, messageId: 'noAsyncDescribeCallback' }],

0 commit comments

Comments
 (0)