MCPcopy Create free account
hub / github.com/RtlZeroMemory/Rezi / collectScriptTests

Function collectScriptTests

scripts/run-tests.mjs:47–51  ·  view source on GitHub ↗
(root)

Source from the content-addressed store, hash-verified

45}
46
47function collectScriptTests(root) {
48 const dir = join(root, "scripts", "__tests__");
49 if (!existsSync(dir)) return [];
50 return collectFilesRecursiveSorted(dir, (fullPath) => fullPath.endsWith(".test.mjs"));
51}
52
53function collectPackageTests(root) {
54 const packagesDir = join(root, "packages");

Callers 1

run-tests.mjsFile · 0.85

Calls 1

Tested by

no test coverage detected