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 652bad8 commit 6d62cc6Copy full SHA for 6d62cc6
src/__tests__/suggestions.js
@@ -7,7 +7,7 @@ beforeAll(() => {
7
})
8
9
afterEach(() => {
10
- configure({testIdAttribute: 'data-testid'})
+ configure({testIdAttribute: 'data-testid', throwSuggestions: true})
11
console.warn.mockClear()
12
13
@@ -110,7 +110,6 @@ test('should suggest when suggest is turned on for a specific query but disabled
110
<button data-testid="foot">another</button>`)
111
112
expect(() => screen.getByTestId('foo', {suggest: true})).toThrowError()
113
- configure({throwSuggestions: true})
114
115
116
test('should suggest getByRole when used with getBy', () => {
0 commit comments