Skip to content

Commit 6fb8295

Browse files
committed
fix: removing default to false for categoryExtensions to fix tests
1 parent a02262b commit 6fb8295

3 files changed

Lines changed: 1 addition & 4 deletions

File tree

src/bin/chrome-devtools-mcp-cli-options.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,6 @@ export const cliOptions = {
211211
},
212212
categoryExtensions: {
213213
type: 'boolean',
214-
default: false,
215214
hidden: true,
216215
conflicts: ['browserUrl', 'autoConnect', 'wsEndpoint'],
217216
describe:

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ export async function createMcpServer(
129129
}
130130
if (
131131
tool.annotations.category === ToolCategory.EXTENSIONS &&
132-
serverArgs.categoryExtensions === false
132+
!serverArgs.categoryExtensions
133133
) {
134134
return;
135135
}

tests/cli.test.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ describe('cli args parsing', () => {
1515
categoryEmulation: true,
1616
'category-performance': true,
1717
categoryPerformance: true,
18-
'category-extensions': false,
19-
categoryExtensions: false,
2018
'category-network': true,
2119
categoryNetwork: true,
2220
'auto-connect': undefined,

0 commit comments

Comments
 (0)