Files
kandev/apps/web/lib/test-support/happy-dom-network.test.ts
T
Clément Fiere 15c0c35df6 feat(auth): resolve session hostnames (#2741)
Co-authored-by: Carlos Florencio <carlosmflorencio@gmail.com>
2026-09-04 13:06:33 +00:00

10 lines
375 B
TypeScript

import type { Window as HappyDOMWindow } from "happy-dom";
import { expect, it } from "vitest";
it("disables external stylesheet loads without dispatching an error", () => {
const settings = (window as unknown as HappyDOMWindow).happyDOM.settings;
expect(settings.disableCSSFileLoading).toBe(true);
expect(settings.handleDisabledFileLoadingAsSuccess).toBe(true);
});