Skip to content

armgit / cogit

Public Imported from GitHub
0

Git for the intent behind agent-written code. Records what your coding agent decided and why, and links every commit to it.

366 B
Raw Blame
import { describe, expect, it } from "vitest";
import { DATA_ELEMENT_ID, VIEW_SCHEMA } from "../src/view/model.js";

describe("view model contract", () => {
  it("pins the data element id the template reads", () => {
    expect(DATA_ELEMENT_ID).toBe("cogit-data");
  });

  it("pins the serialized schema version", () => {
    expect(VIEW_SCHEMA).toBe(1);
  });
});