Skip to main content

TestPipeline.withSubject()

Home > @backstage/plugin-search-backend-node > TestPipeline > withSubject

Warning: This API is now obsolete.

Use fromCollator, fromDecorator or fromIndexer static methods to create a test pipeline instead.

Provide the collator, decorator, or indexer to be tested.

Signature:

static withSubject(subject: Readable | Transform | Writable): TestPipeline;

Parameters

ParameterTypeDescription
subjectReadable | Transform | Writable

Returns:

TestPipeline