(
instance: TestInstance,
expectedValue: TextMatch,
options: TextMatchOptions = {},
)
| 19 | type ByDisplayValueOptions = CommonQueryOptions & TextMatchOptions; |
| 20 | |
| 21 | const matchDisplayValue = ( |
| 22 | instance: TestInstance, |
| 23 | expectedValue: TextMatch, |
| 24 | options: TextMatchOptions = {}, |
| 25 | ) => { |
| 26 | const { exact, normalizer } = options; |
| 27 | const instanceValue = getTextInputValue(instance); |
| 28 | return matches(expectedValue, instanceValue, normalizer, exact); |
| 29 | }; |
| 30 | |
| 31 | const queryAllByDisplayValue = ( |
| 32 | instance: TestInstance, |
no test coverage detected
searching dependent graphs…