-
Notifications
You must be signed in to change notification settings - Fork 470
Expand file tree
/
Copy pathget-by-errors.js.snap
More file actions
31 lines (23 loc) · 1.31 KB
/
get-by-errors.js.snap
File metadata and controls
31 lines (23 loc) · 1.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`getByLabelText query will print the playground link when enabled in the config 1`] = `
"Unable to find a label with the text of: TEST QUERY
<body>
<div>
Hello
</div>
</body>
Open this markup in the Testing-Library Playground:
https://testing-playground.com/#markup=DwEwlgbgfAEgpgGwQe2AenNIA"
`;
exports[`getByLabelText query will throw the custom error returned by config.getElementError 1`] = `"My custom error: Unable to find a label with the text of: TEST QUERY"`;
exports[`getByText query will print the playground link when enabled in the config 1`] = `
"Unable to find an element with the text: TEST QUERY. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.
<body>
<div>
Hello
</div>
</body>
Open this markup in the Testing-Library Playground:
https://testing-playground.com/#markup=DwEwlgbgfAEgpgGwQe2AenNIA"
`;
exports[`getByText query will throw the custom error returned by config.getElementError 1`] = `"My custom error: Unable to find an element with the text: TEST QUERY. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible."`;