Gate Packs.Test
Path:
loom-builder-sol/src/gate-packs.test.tsRelative: src/gate-packs.test.tsSubproject: loom-builder-solCategory: dispatch-system-solLines: 101Bytes: 3,739Imports: 4Exports: 0has tests
Content Preview
- import { describe, test, expect } from "bun:test";
- import {
- loadGatePack,
- resolvePackValidation,
- staleDigestGuard,
- type GatePack,
- } from "./gate-packs.js";
- import { canonicalJSON } from "./gates.js";
- import type { ValidationCmd } from "./types.js";
- const GATES_DIR = import.meta.dir + "/../gates";
- describe("gate-packs", () => {
- test("loadGatePack loads v1.0.0/default", () => {
- const pack = loadGatePack("v1.0.0/default");
- expect(pack.scope).toBe("default");
- expect(pack.vali