Full SDK workspace: core, contracts, sdk, cli, browser-host, browser-kit, federation, omega-core, oracle, self-healing, strategies, tools, emacs. Clean extraction from the development monorepo. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
12 lines
378 B
TypeScript
12 lines
378 B
TypeScript
import { describe, expect, it } from "vitest";
|
|
import { parseTscErrors } from "../src/build";
|
|
|
|
describe("self-healing package smoke", () => {
|
|
it("parses TypeScript diagnostics", () => {
|
|
const output = "src/main.ts(1,2): error TS1000: boom";
|
|
const parsed = parseTscErrors(output);
|
|
expect(parsed.length).toBe(1);
|
|
expect(parsed[0].code).toBe("TS1000");
|
|
});
|
|
});
|