(matchesByQuery: Record<string, boolean>)
| 10 | import type { TouchMediaMatcher } from './touchDevicePolicy'; |
| 11 | |
| 12 | function createMatcher(matchesByQuery: Record<string, boolean>): TouchMediaMatcher { |
| 13 | return (query) => ({ matches: matchesByQuery[query] ?? false }); |
| 14 | } |
| 15 | |
| 16 | describe('touch device policy', () => { |
| 17 | it('uses touch mode only when the primary pointer is coarse and cannot hover', () => { |
no outgoing calls
no test coverage detected