Skip to main content
Version: 17.0 (next)

Function: createPipeHarness()

createPipeHarness<TValue>(options): SpectacularPipeHarness<TValue>

Defined in: packages/spectacular/src/lib/pipe-testing/pipe-harness/create-pipe-harness.ts:56

Set up a host component for the Angular pipe under test.

Test it by updating the value and reading the rendered text.

Type Parameters

TValue

TValue

Parameters

options

CreatePipeHarnessOptions<TValue>

Returns

SpectacularPipeHarness<TValue>