Skip to content

Commit 65b1c1d

Browse files
Ignore browser-only files in coverage reports (#17262)
1 parent e9b652c commit 65b1c1d

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

packages/babel-core/src/config/files/index-browser.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
/* c8 ignore start */
2+
13
import type { Handler } from "gensync";
24

35
import type {

packages/babel-core/src/config/resolve-targets-browser.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
/* c8 ignore start */
2+
13
import type { ValidatedOptions } from "./validation/options.ts";
24
import getTargets, {
35
type InputTargets,

packages/babel-core/src/transform-file-browser.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
/* c8 ignore start */
2+
13
// duplicated from transform-file so we do not have to import anything here
24
type TransformFile = {
35
(filename: string, callback: (error: Error, file: null) => void): void;

0 commit comments

Comments
 (0)