Functions

f
getChangedFsTree(
fsTree: FSTree,
config: Config,
changedSince: string,
getChanged?: getChangedFilePathsInGitSince
): Promise<FSTree>

Returns a new fsTree containing only the test files affected by changes since ref, per the cached esbuild metafile's reverse-dependency graph.

Usage

import * as mod from "lib/setup/get-changed-fs-tree.ts";