Beautiful, AI-native markdown IDE and LLM wiki
TypeScript 2nd-brainagent-skillsclaudecodexcompany-braindocsknowledge-knowledge-baseknowledge-managementllmllm-wikillm-wiki-karpathymarkdownmarkdown-editormdmdxnotespkmsecond-brainskills
import { mkdirSync } from 'node:fs';
import { dirname, join } from 'node:path';
import { afterAll, beforeAll } from 'vitest';
import {
releaseTestAuthorityRegistry,
testAuthorityRegistryPath,
} from './server-authority-registry.test-helper.ts';
const home = join(dirname(testAuthorityRegistryPath), 'home');
process.env.HOME = home;
process.env.USERPROFILE = home;
beforeAll(() => {
mkdirSync(home, { recursive: true });
});
afterAll(releaseTestAuthorityRegistry);