release: WRNexusJS 0.5.11

This commit is contained in:
Clintchiz committed 2026-07-30 15:03:52 +05:30
1 parent d1b0c55b53
commit f37303b22d
67 files changed
+530 -213

No files matched your search

@@ -0,0 +1,14 @@
import { expect, test } from "bun:test";
import { collectScripts } from "../src/runtime.ts";
test("accent controls load the shared theme runtime", () => {
expect(collectScripts('<button data-wire-accent-set="rose">Rose</button>')).toContain(
"/__wrnexus/theme.js",
);
});
test("accent clear controls load the shared theme runtime", () => {
expect(collectScripts("<button data-wire-accent-clear>Reset</button>")).toContain(
"/__wrnexus/theme.js",
);
});