MCPcopy Create free account
hub / github.com/NativeScript/NativeScript / matchMediaWrapper

Function matchMediaWrapper

packages/core/media-query-list/index.spec.ts:19–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17 describe('matchMedia', () => {
18 it('should return a MediaQueryList that matches the css media query', () => {
19 const matchMediaWrapper = () => matchMedia(`only screen and (max-width: ${widthDIPs})`);
20
21 expect(matchMediaWrapper).not.toThrow();
22

Callers 1

index.spec.tsFile · 0.85

Calls 1

matchMediaFunction · 0.85

Tested by

no test coverage detected