MCPcopy Create free account
hub / github.com/boringstack-xyz/boringstack / initGitRepo

Function initGitRepo

apps/api/tests/lint-meta/lint-meta.test.ts:1852–1857  ·  view source on GitHub ↗
(repo: string)

Source from the content-addressed store, hash-verified

1850describe("checkLogicFilesHaveTests", () => {
1851 test.each(["service", "utils", "jobs", "check"])(
1852 "flags a *.%s.ts file without a matching test sibling",
1853 (suffix) => {
1854 const root = mkdtempSync(join(tmpdir(), "lint-meta-logic-"));
1855
1856 try {
1857 mkdirSync(join(root, "src", "feature"), { recursive: true });
1858 writeFileSync(
1859 join(root, "src", "feature", `feature.${suffix}.ts`),
1860 "export const x = 1;\n"

Callers 1

lint-meta.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected