Functions

f
parseTestDeclarations(
source: string,
filePath: string
): Promise<DeclarationScan | null>

Finds every test(...) / module(...) declaration in a test file, with the source line range each one spans — enough to answer "which test is at line 34?".

Interfaces

I
DeclarationScan

Every declaration found in a file, plus whether it uses only().

I
TestDeclaration

A test(...) or module(...) call found in a test file, in 1-based source lines.