property DeclarationScan.hasOnly

True when the file calls only(), which makes QUnit ignore every other test in the run.

Type

boolean

Usage

import { type DeclarationScan } from "lib/selection/parse-test-declarations.ts";