Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NativeScript/NativeScript
/ index.spec.ts
File
index.spec.ts
packages/core/media-query-list/index.spec.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ matchMedia, checkIfMediaQueryMatches, MediaQueryList } from
'.'
;
2
import
{ Screen } from
'../platform'
;
3
4
describe(
'media-query-list'
, () => {
Callers
nothing calls this directly
Calls
6
checkIfMediaQueryMatches
Function · 0.85
matchMediaWrapper
Function · 0.85
addListener
Method · 0.80
removeListener
Method · 0.80
addEventListener
Method · 0.45
removeEventListener
Method · 0.45
Tested by
no test coverage detected