MCPcopy Index your code
hub / github.com/KartikLabhshetwar/lazycommit / createFixture

Function createFixture

tests/utils.ts:51–59  ·  view source on GitHub ↗
(source?: string | FileTree)

Source from the content-addressed store, hash-verified

49};
50
51export const createFixture = async (source?: string | FileTree) => {
52 const fixture = await createFixtureBase(source);
53 const lazycommit = createLazycommit(fixture);
54
55 return {
56 fixture,
57 lazycommit,
58 };
59};
60
61export const files = Object.freeze({
62 '.lazycommit': `GROQ_API_KEY=${process.env.GROQ_API_KEY}`,

Callers 4

config.tsFile · 0.85
git-hook.tsFile · 0.85
commits.tsFile · 0.85
error-cases.tsFile · 0.85

Calls 1

createLazycommitFunction · 0.85

Tested by

no test coverage detected