( expected: string, found: string | undefined, text: string, )
| 215 | } |
| 216 | |
| 217 | function getErrorMessage( |
| 218 | expected: string, |
| 219 | found: string | undefined, |
| 220 | text: string, |
| 221 | ) { |
| 222 | return `Expected ${expected} but found "${found ?? ''}" in "${text}" |
| 223 | See https://github.com/testing-library/user-event/blob/main/README.md#keyboardtext-options |
| 224 | for more information about how userEvent parses your input.` |
| 225 | } |
no outgoing calls
no test coverage detected