property ScriptOutcome.tests

The suite the entry declared, or null when it was a plain script.

A file that registers QUnit tests is a suite, whichever verb pointed at it, and reporting it as an empty script run would be reporting success for tests that never ran. Non-null here means TAP was produced and ScriptOutcome.exitCode is the suite's.

Type

RunResult | null

Usage

import { type ScriptOutcome } from "lib/commands/run.ts";