MCPcopy
hub / github.com/darkreader/darkreader / style-override.tests.ts

File style-override.tests.ts

tests/inject/dynamic/style-override.tests.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import '../support/polyfills';
2import {DEFAULT_THEME} from '../../../src/defaults';
3import {createOrUpdateDynamicTheme, removeDynamicTheme} from '../../../src/inject/dynamic-theme';
4import {createStyleSheetModifier} from '../../../src/inject/dynamic-theme/stylesheet-modifier';

Callers

nothing calls this directly

Calls 8

removeDynamicThemeFunction · 0.90
createStyleSheetModifierFunction · 0.90
multilineFunction · 0.90
timeoutFunction · 0.90
insertRuleMethod · 0.80
addMethod · 0.80
removeMethod · 0.65

Tested by

no test coverage detected