MCPcopy Create free account
hub / github.com/darkreader/darkreader / loadBasicPage

Function loadBasicPage

tests/browser/dynamic/inline-override.tests.ts:4–17  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2import type {StyleExpectations} from '../globals';
3
4async function loadBasicPage() {
5 await loadTestPage({
6 '/': multiline(
7 '<!DOCTYPE html>',
8 '<html>',
9 '<head>',
10 '</head>',
11 '<body>',
12 ' <span style="color: red;">Inline style override</span>',
13 '</body>',
14 '</html>',
15 ),
16 });
17}
18
19async function expectStyles(styles: StyleExpectations) {
20 await expectPageStyles(expect, styles);

Callers 1

Calls 1

multilineFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…