Import Lesson.Test
Path:
loom-builder/src/import-lesson.test.tsRelative: src/import-lesson.test.tsSubproject: loom-builderCategory: dispatch-systemLines: 343Bytes: 11,737Imports: 4Exports: 0has tests
Content Preview
- /**
- * Tests for import-lesson.ts — the bridge from pi-cybernetic enforcement
- * artifacts to loom-builder's gate governance system.
- *
- * CRITICAL: Uses a TEMP sandbox gates dir + temp queue. NEVER touches the
- * real gates/ dir or cuts a real gate version in tests.
- */
- import { describe, expect, test, beforeAll, afterAll } from "bun:test";
- import {
- existsSync,
- mkdirSync,
- readFileSync,
- writeFileSync,
- readdirSync,
- rmSync,
- } from "node:fs";
- import { join, resolve } from "node:path";
- i