Preflight.Test
Path:
loom-sprint-scaffold/loom/tests/execution/preflight.test.tsRelative: loom/tests/execution/preflight.test.tsSubproject: loom-sprint-scaffoldCategory: testsLines: 133Bytes: 4,732Imports: 2Exports: 0has tests
Content Preview
- /**
- * Tests for preflight (H3.7).
- *
- * Proves:
- * - clean files (no markers) pass
- * - every marker (TODO, FIXME, <<<<<<<, =======, >>>>>>>) is detected
- * - violations carry file path, line number, and line content
- * - multiple markers in one file are all detected
- * - errorMessage contains all violations
- * - empty file list passes
- */
- import { describe, expect, test } from "bun:test";
- import { checkPreflight } from "../../src/execution/preflight";
- describe("checkPreflight", () => {
- test