Initial Commit

This commit is contained in:
2026-05-27 23:47:53 +01:00
parent fbc70f96e6
commit 9b28db724f
18103 changed files with 1600554 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
import { describe, expect, it } from "@suaveplan/testing/runner";
import * as index from "../src/index.js";
describe("DEP-GRAPH-01 — No forbidden cross-plugin imports", () => {
it("public index exports only local symbols", { timeout: 5000 }, () => {
expect(index).toBeDefined();
});
});

View File

@@ -0,0 +1,12 @@
import { webcrypto } from "node:crypto";
import { WebSocket } from "ws";
if (!globalThis.crypto) {
// @ts-expect-error - polyfill for Node.js environment
globalThis.crypto = webcrypto;
}
if (!globalThis.WebSocket) {
// @ts-expect-error - polyfill WebSocket for Node.js test environment
globalThis.WebSocket = WebSocket;
}