MCPcopy Create free account
hub / github.com/BCsabaEngine/svelteesp32 / createMockAssetSource

Function createMockAssetSource

test/unit/cppCode.test.ts:40–43  ·  view source on GitHub ↗
(filename: string, content: string)

Source from the content-addressed store, hash-verified

38});
39
40const createMockAssetSource = (filename: string, content: string): CppCodeSource => ({
41 ...createMockSource(filename, content),
42 mime: 'text/css'
43});
44
45describe('computeRouteCount (issue #120)', () => {
46 const sourcesWithIndex: CppCodeSources = [

Callers 1

cppCode.test.tsFile · 0.85

Calls 1

createMockSourceFunction · 0.70

Tested by

no test coverage detected