// The "./selftest" export must keep working: run it end to end. It exercises
// the four artifacts, the pay-link round trip and the ledger fold, and installs
// its own in-memory localStorage shim under node.
import test from "node:test";
import assert from "node:assert/strict";
import { runWalletKitSelfTest } from "../dist/selftest.js";
test("runWalletKitSelfTest passes against dist", async () => {
await assert.doesNotReject(() => runWalletKitSelfTest());
});