Skip to content

API Reference / @gtkx/testing / NormalizerOptions

Type Alias: NormalizerOptions ​

NormalizerOptions = object

Defined in: packages/testing/src/types.ts:25

Options controlling the default text normalizer.

Properties ​

collapseWhitespace? ​

optional collapseWhitespace?: boolean

Defined in: packages/testing/src/types.ts:29

Collapse runs of whitespace into a single space.


trim? ​

optional trim?: boolean

Defined in: packages/testing/src/types.ts:27

Trim leading and trailing whitespace.