Skip to content

Packages  ›  trotsky  ›  Step  ›  save

Step.save() method

Adds a StepSave step.

Signature:

typescript
save(path?: StepSavePath): this;

Parameters

Parameter

Type

Description

path

StepSavePath

(Optional) The path of the JSON file to save the output. If not provided, the file path will be created using the current step name.

Returns:

this

The current Step instance.