MCPcopy
hub / github.com/Fission-AI/OpenSpec / update.test.ts

File update.test.ts

test/core/update.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { describe, it, expect, beforeEach, afterEach, vi } from 'vitest';
2import { UpdateCommand, scanInstalledWorkflows } from '../../src/core/update.js';
3import { InitCommand } from '../../src/core/init.js';
4import { FileSystemUtils } from '../../src/utils/file-system.js';

Callers

nothing calls this directly

Calls 9

resetMockConfigFunction · 0.85
setMockConfigFunction · 0.85
writeFileMethod · 0.80
readFileMethod · 0.80
fileExistsMethod · 0.80
directoryExistsMethod · 0.80
getMethod · 0.80
scanInstalledWorkflowsFunction · 0.50
executeMethod · 0.45

Tested by

no test coverage detected