CreateHarnessRunArgs
CreateHarnessRunArgs<
TInput> =object
Arguments passed to the createHarness(...) convenience callback.
Type Parameters
Section titled “Type Parameters”TInput
Section titled “TInput”TInput
Properties
Section titled “Properties”artifacts
Section titled “artifacts”artifacts:
HarnessContext["artifacts"]
Mutable run artifact bag.
input:
TInput
Original input passed to run(input).
setArtifact
Section titled “setArtifact”setArtifact:
HarnessContext["setArtifact"]
Stores one JSON-safe artifact on the current run.
signal?
Section titled “signal?”
optionalsignal?:AbortSignal
Abort signal from Vitest when available.