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 e710d39 commit 2759d40Copy full SHA for 2759d40
docs/rules/no-await-sync-query.md
@@ -29,6 +29,11 @@ const bar = () => {
29
// ...
30
});
31
};
32
+
33
+const baz = () => {
34
+ // ...
35
+ const button = await screen.getByText('submit');
36
+};
37
```
38
39
Examples of **correct** code for this rule:
@@ -45,6 +50,11 @@ const bar = () => {
45
50
const button = getByText('submit');
46
51
47
52
53
54
55
56
+ const button = screen.getByText('submit');
57
48
58
49
59
60
## Further Reading
0 commit comments