Beautiful, AI-native markdown IDE and LLM wiki
TypeScript 2nd-brainagent-skillsclaudecodexcompany-braindocsknowledge-knowledge-baseknowledge-managementllmllm-wikillm-wiki-karpathymarkdownmarkdown-editormdmdxnotespkmsecond-brainskills
import { beforeEach, describe, expect, test, vi } from 'vitest';
const listPackSkillSources = vi.hoisted(() => vi.fn(() => []));
vi.mock('../skill-pack-sources.ts', () => ({ listPackSkillSources }));
import { resolvePackSkillSources } from './install-pack-skill.ts';
describe('resolvePackSkillSources', () => {
beforeEach(() => {
listPackSkillSources.mockClear();
});
test('resolves against the running server bundle, not a co-installed desktop', () => {
resolvePackSkillSources('okf');
expect(listPackSkillSources).toHaveBeenCalledWith('okf', { checkDesktop: false });
});
});