Skip to main content
Version: Next

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

Parameter

Type

Description

subject

Readable | Transform | Writable

**Returns:**

TestPipeline