type alias FSTree

Snapshot of the project's file-system structure: a map of relative paths to null. Diffed against a fresh snapshot in watch mode to detect added or removed test files.

const tree: FSTree = { 'test/cart-test.ts': null, 'test/user-test.ts': null };
'test/cart-test.ts' in tree; // true — membership is the only question a snapshot answers

Definition

Record<string, null>

Usage

import { type FSTree } from "lib/types.ts";