MCPcopy Create free account
hub / github.com/darkreader/darkreader / selectors.tests.ts

File selectors.tests.ts

tests/unit/inject/selectors.tests.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import {isSelectorWithin, makeSelectorEmpty} from '../../../src/inject/dynamic-theme/selectors';
2
3describe('Check if a selector is within another selector', () => {
4 it('Treats identical selector as within', () => {

Callers

nothing calls this directly

Calls 2

isSelectorWithinFunction · 0.90
makeSelectorEmptyFunction · 0.90

Tested by

no test coverage detected