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,11 @@
// React-specific polyfills. The base webcrypto polyfill loads via
// `@suaveplan/testing/polyfills`. This sets the React 18+
// `IS_REACT_ACT_ENVIRONMENT` flag so DOM assertions outside `act(...)`
// don't generate runtime warnings.
interface ReactActEnvWindow {
IS_REACT_ACT_ENVIRONMENT?: boolean;
}
const win = globalThis as unknown as ReactActEnvWindow;
if (win.IS_REACT_ACT_ENVIRONMENT === undefined) {
win.IS_REACT_ACT_ENVIRONMENT = true;
}