Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/dnt/lib/test_runner/test_runner.ts>TestContext

Deno to npm package build tool.
Go to Latest
interface TestContext
import { type TestContext } from "https://deno.land/x/dnt@0.39.0/lib/test_runner/test_runner.ts";

Properties

name: string
parent: TestContext | undefined
origin: string
err: any
children: TestContext[]
hasFailingChild: boolean
status:
| "ok"
| "fail"
| "pending"
| "ignored"

Methods

getOutput(): string
step(nameOrDefinition: string | TestDefinition, fn?: (context: TestContext) => void | Promise<void>): Promise<boolean>