MCPcopy Index your code
hub / github.com/ColmapView/Colmapview.github.io / configFile

Function configFile

src/config/configuration/fileImport.test.ts:5–10  ·  view source on GitHub ↗
(name: string, content: string)

Source from the content-addressed store, hash-verified

3import type { PartialAppConfiguration } from './types';
4
5function configFile(name: string, content: string): ConfigFileLike {
6 return {
7 name,
8 text: vi.fn().mockResolvedValue(content),
9 };
10}
11
12describe('config file import helpers', () => {
13 it('applies valid configuration files and logs the source filename', async () => {

Callers 1

fileImport.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected