MCPcopy Create free account
hub / github.com/tiann/hapi / hookPlugin.test.ts

File hookPlugin.test.ts

cli/src/opencode/utils/hookPlugin.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest';
2import { existsSync, mkdtempSync, readFileSync, rmSync, writeFileSync } from 'node:fs';
3import { tmpdir } from 'node:os';
4import { join } from 'node:path';

Callers

nothing calls this directly

Calls 4

ensureOpencodeHookPluginFunction · 0.90
resetHapiHomeFunction · 0.85
setHapiHomeFunction · 0.85
makeTempDirFunction · 0.70

Tested by

no test coverage detected