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.
1 parent 8bd20d6 commit 4abd414Copy full SHA for 4abd414
docs/rules/await-async-query.md
@@ -30,6 +30,12 @@ const bar = () => {
30
findByText('submit');
31
// ...
32
};
33
+
34
+const baz = () => {
35
+ // ...
36
+ screen.findAllByPlaceholderText('name');
37
38
+};
39
```
40
41
Examples of **correct** code for this rule:
@@ -50,6 +56,12 @@ const bar = () => {
50
56
});
51
57
52
58
59
60
61
+ await screen.findAllByPlaceholderText('name');
62
63
64
53
65
// return the promise within a function is correct too!
54
66
const findMyButton = () => findByText('my button');
55
67
0 commit comments