[READ-ONLY] Mirror of https://github.com/crutchcorn/cli-testing-library. 🐨 Simple and complete CLI testing utilities that encourage good tes cli-testing.com
cli-testing-library docs reference interfaces SelectorMatcherOptions.md
2.8 kB · 124 lines
Markdown
at main

--- id: SelectorMatcherOptions title: SelectorMatcherOptions --- # Interface: SelectorMatcherOptions Defined in: [query-helpers.ts:16](https://github.com/crutchcorn/cli-testing-library/blob/main/packages/cli-testing-library/src/query-helpers.ts#L16) ## Extends - [`MatcherOptions`](MatcherOptions.md) ## Properties ### collapseWhitespace? ```ts optional collapseWhitespace?: boolean; ``` Defined in: [matches.ts:24](https://github.com/crutchcorn/cli-testing-library/blob/main/packages/cli-testing-library/src/matches.ts#L24) Use normalizer with getDefaultNormalizer instead #### Inherited from [`MatcherOptions`](MatcherOptions.md).[`collapseWhitespace`](MatcherOptions.md#collapsewhitespace) *** ### exact? ```ts optional exact?: boolean; ``` Defined in: [matches.ts:18](https://github.com/crutchcorn/cli-testing-library/blob/main/packages/cli-testing-library/src/matches.ts#L18) #### Inherited from [`MatcherOptions`](MatcherOptions.md).[`exact`](MatcherOptions.md#exact) *** ### ignore? ```ts optional ignore?: string | boolean; ``` Defined in: [query-helpers.ts:18](https://github.com/crutchcorn/cli-testing-library/blob/main/packages/cli-testing-library/src/query-helpers.ts#L18) *** ### normalizer? ```ts optional normalizer?: NormalizerFn; ``` Defined in: [matches.ts:25](https://github.com/crutchcorn/cli-testing-library/blob/main/packages/cli-testing-library/src/matches.ts#L25) #### Inherited from [`MatcherOptions`](MatcherOptions.md).[`normalizer`](MatcherOptions.md#normalizer) *** ### selector? ```ts optional selector?: string; ``` Defined in: [query-helpers.ts:17](https://github.com/crutchcorn/cli-testing-library/blob/main/packages/cli-testing-library/src/query-helpers.ts#L17) *** ### stripAnsi? ```ts optional stripAnsi?: boolean; ``` Defined in: [matches.ts:22](https://github.com/crutchcorn/cli-testing-library/blob/main/packages/cli-testing-library/src/matches.ts#L22) Use normalizer with getDefaultNormalizer instead #### Inherited from [`MatcherOptions`](MatcherOptions.md).[`stripAnsi…