Module

x/cliffy/testing/snapshot.ts>SnapshotTestStep

Command line framework for deno 🦕 Including Commandline-Interfaces, Prompts, CLI-Table, Arguments Parser and more...
Extremely Popular
Latest
interface SnapshotTestStep
import { type SnapshotTestStep } from "https://dotland.deno.dev/x/cliffy@v1.0.0-rc.4/testing/snapshot.ts";

Snapshot test step options.

Properties

optional
stdin: Array<string> | string

Data written to the test process.

optional
args: Array<string>

Arguments passed to the test file.

optional
canFail: true

If enabled, test error will be ignored.