Skip to content

API Reference / @gtkx/testing / TextExpectation

Type Alias: TextExpectation ​

TextExpectation = string | RegExp

Defined in: packages/testing/src/matchers.ts:46

The expected value for a text matcher: an exact string or a regular expression.