id-kit / test / selftest.test.mjs
1
2
3
4
5
6
7
8
9
// The "./selftest" export must keep working: run it end to end (it exercises
// identity determinism, binding, certs, wraps and profile clamping itself).
import test from "node:test";
import assert from "node:assert/strict";
import { runIdKitSelfTest } from "../dist/selftest.js";

test("runIdKitSelfTest passes against dist", async () => {
  await assert.doesNotReject(() => runIdKitSelfTest());
});

static mirror of HEAD · about · clone: git clone https://git.ardegazu.ro/id-kit.git