Skip to content

Commit f48356c

Browse files
committed
TODO: reword+fixup
1 parent ab0f71a commit f48356c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/__tests__/suggestions.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,9 @@ test('should suggest when suggest is turned on for a specific query but disabled
109109
<button data-testid="foo">submit</button>
110110
<button data-testid="foot">another</button>`)
111111

112-
expect(() => screen.getByTestId('foo', {suggest: true})).toThrowError("try this:\ngetByRole('button', { name: /submit/i })")
112+
expect(() => screen.getByTestId('foo', {suggest: true})).toThrowError(
113+
"try this:\ngetByRole('button', { name: /submit/i })",
114+
)
113115
})
114116

115117
test('should suggest getByRole when used with getBy', () => {

0 commit comments

Comments
 (0)