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 ab0f71a commit f48356cCopy full SHA for f48356c
src/__tests__/suggestions.js
@@ -109,7 +109,9 @@ test('should suggest when suggest is turned on for a specific query but disabled
109
<button data-testid="foo">submit</button>
110
<button data-testid="foot">another</button>`)
111
112
- expect(() => screen.getByTestId('foo', {suggest: true})).toThrowError("try this:\ngetByRole('button', { name: /submit/i })")
+ expect(() => screen.getByTestId('foo', {suggest: true})).toThrowError(
113
+ "try this:\ngetByRole('button', { name: /submit/i })",
114
+ )
115
})
116
117
test('should suggest getByRole when used with getBy', () => {
0 commit comments