textContentMatcher()
Home > @backstage/test-utils > textContentMatcher
Returns a @testing-library/react valid MatcherFunction for supplied text
Signature:
textContentMatcher: (text: string) => MatcherFunction
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
text |
string |
MatcherFunction