Skip to content

Commit eb5b313

Browse files
committed
Remove unnecessary re-exports from chrome-headless-shell.ts
Tests now import path utilities directly from chrome-headless-shell-paths.ts. No other consumer needs the re-export.
1 parent 91ae92b commit eb5b313

2 files changed

Lines changed: 2 additions & 11 deletions

File tree

src/tools/impl/chrome-headless-shell.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,6 @@ import {
3333
} from "./chrome-headless-shell-paths.ts";
3434
import { chromiumInstallable } from "./chromium.ts";
3535

36-
// Re-export path utilities for external consumers
37-
export {
38-
chromeHeadlessShellBinaryName,
39-
chromeHeadlessShellExecutablePath,
40-
chromeHeadlessShellInstallDir,
41-
isInstalled,
42-
noteInstalledVersion,
43-
readInstalledVersion,
44-
} from "./chrome-headless-shell-paths.ts";
4536

4637
// -- InstallableTool methods --
4738

tests/unit/tools/chrome-headless-shell.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ import {
2121
import { installableTool, installableTools } from "../../../src/tools/tools.ts";
2222
import {
2323
chromeHeadlessShellBinaryName,
24-
chromeHeadlessShellInstallable,
2524
chromeHeadlessShellInstallDir,
2625
chromeHeadlessShellExecutablePath,
2726
isInstalled,
2827
noteInstalledVersion,
2928
readInstalledVersion,
30-
} from "../../../src/tools/impl/chrome-headless-shell.ts";
29+
} from "../../../src/tools/impl/chrome-headless-shell-paths.ts";
30+
import { chromeHeadlessShellInstallable } from "../../../src/tools/impl/chrome-headless-shell.ts";
3131

3232
// -- Step 1: Install directory + executable path --
3333

0 commit comments

Comments
 (0)