refactor: enforce frontend view model boundaries
This commit is contained in:
+3
-1
@@ -39,7 +39,9 @@ Object.defineProperty(globalThis, "matchMedia", {
|
||||
dispatchEvent: () => false,
|
||||
matches: false,
|
||||
media: query,
|
||||
onchange: /* eslint-disable-line unicorn/no-null -- Exercise the explicit null returned by the production API/DOM contract. */ null,
|
||||
onchange:
|
||||
// eslint-disable-next-line unicorn/no-null -- Exercise the explicit null returned by the production API/DOM contract.
|
||||
null,
|
||||
removeEventListener: () => {},
|
||||
removeListener: () => {},
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user