Pre Release New Changes

This commit is contained in:
Clintchiz committed 2026-07-31 16:30:13 +05:30
1 parent 358a520bc5
commit 3e565e8d03
189 files changed
+36727 -17249

No files matched your search

@@ -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)");
});