Pre Release New Changes

This commit is contained in:
2026-07-31 16:30:13 +05:30
parent 358a520bc5
commit 3e565e8d03
189 changed files with 36727 additions and 17249 deletions
@@ -26,3 +26,11 @@ test("HMR preserves the active browser theme and accent", () => {
expect(HMR_CLIENT_JS).toContain('new CustomEvent("wrnexus:hmr-updated"');
});
test("HMR synchronizes local WRN styles with the current document nonce", () => {
expect(HMR_CLIENT_JS).toContain("style[data-wrnexus-style-id]");
expect(HMR_CLIENT_JS).toContain("function currentDocumentNonce()");
expect(HMR_CLIENT_JS).toContain('currentStyle.setAttribute("nonce", nonce)');
expect(HMR_CLIENT_JS).toContain("document.head.appendChild(currentStyle)");
expect(HMR_CLIENT_JS).toContain("syncWrnStyles(doc)");
});