• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

preactjs / preact / 15873660374

25 Jun 2025 10:15AM UTC coverage: 94.727% (-4.9%) from 99.61%
15873660374

push

github

web-flow
chore: use v8 coverage (#4807)

565 of 583 branches covered (96.91%)

1994 of 2105 relevant lines covered (94.73%)

861.79 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

60.0
/devtools/src/devtools.js
1
import { Component, Fragment, options } from 'preact';
2

3
export function initDevTools() {
1✔
4
        const globalVar =
1✔
5
                typeof globalThis !== 'undefined'
1✔
6
                        ? globalThis
1✔
7
                        : typeof window !== 'undefined'
1!
8
                                ? window
×
9
                                : undefined;
×
10

×
11
        if (
×
12
                globalVar !== null &&
×
13
                globalVar !== undefined &&
14
                globalVar.__PREACT_DEVTOOLS__
×
15
        ) {
1✔
16
                globalVar.__PREACT_DEVTOOLS__.attachPreact('10.26.8', options, {
1✔
17
                        Fragment,
3✔
18
                        Component
3✔
19
                });
20
        }
21
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc