Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/cliffy/testing/mod.ts>SnapshotTestStep

Command line framework for deno 🦕 Including Commandline-Interfaces, Prompts, CLI-Table, Arguments Parser and more...
Extremely Popular
Go to Latest
interface SnapshotTestStep
import { type SnapshotTestStep } from "https://deno.land/x/cliffy@v1.0.0-rc.1/testing/mod.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.