Skip to content

Commit 114f61c

Browse files
committed
test: no-wait-for-empty-callback
1 parent c5809fd commit 114f61c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tests/lib/rules/no-wait-for-empty-callback.test.ts

+8
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,14 @@ ruleTester.run(RULE_NAME, rule, {
4747
waitFor(() => {})
4848
`,
4949
},
50+
{
51+
settings: { 'testing-library/utils-module': 'test-utils' },
52+
code: `
53+
import { waitFor as renamedWaitFor } from '@marko/testing-library'
54+
import { waitFor } from 'somewhere-else'
55+
waitFor(() => {})
56+
`,
57+
},
5058
],
5159

5260
invalid: [

0 commit comments

Comments
 (0)