MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / subpathsToTest

Function subpathsToTest

scripts/smoke-test-packed.ts:68–68  ·  view source on GitHub ↗
(pkg: PackageJson)

Source from the content-addressed store, hash-verified

66};
67
68const subpathsToTest = (pkg: PackageJson): readonly string[] => Object.keys(pkg.exports ?? {});
69
70const importSpecifier = (pkgName: string, subpath: string): string =>
71 subpath === "." ? pkgName : `${pkgName}${subpath.slice(1)}`;

Callers 1

smokeTestPackageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected