()
| 2 | import type {StyleExpectations} from '../globals'; |
| 3 | |
| 4 | async function loadBasicPage() { |
| 5 | await loadTestPage({ |
| 6 | '/': multiline( |
| 7 | '<!DOCTYPE html>', |
| 8 | '<html>', |
| 9 | '<head>', |
| 10 | ' <style>', |
| 11 | ' h1 { color: red; }', |
| 12 | ' </style>', |
| 13 | '</head>', |
| 14 | '<body>', |
| 15 | ' <h1>E2E test page</h1>', |
| 16 | ' <p>Text</p>', |
| 17 | '</body>', |
| 18 | '</html>', |
| 19 | ), |
| 20 | }); |
| 21 | } |
| 22 | |
| 23 | async function expectStyles(styles: StyleExpectations) { |
| 24 | await expectPageStyles(expect, styles); |
no test coverage detected
searching dependent graphs…