Skip to content

Commit 89e3f38

Browse files
committed
fix: Remove unused imports in read-only mode tests
1 parent cd94774 commit 89e3f38

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

src/__tests__/read-only-mode.test.ts

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,7 @@
66
import { describe, it, expect, vi, beforeEach, afterEach } from 'vitest';
77
import { createMCPServer } from '../mcp-server.js';
88
import type { ServerConfig } from '../config.js';
9-
import {
10-
CallToolRequestSchema,
11-
type CallToolRequest,
12-
} from '@modelcontextprotocol/sdk/types.js';
9+
import type { CallToolRequest } from '@modelcontextprotocol/sdk/types.js';
1310

1411
// Mock the DeployHQClient to avoid making real API calls
1512
vi.mock('../api-client.js', () => {
@@ -26,8 +23,8 @@ vi.mock('../api-client.js', () => {
2623
getDeploymentLog = vi.fn().mockResolvedValue('');
2724
validateCredentials = vi.fn().mockResolvedValue(undefined);
2825

29-
constructor(config: any) {
30-
// Mock constructor
26+
constructor(_config: any) {
27+
// Mock constructor - config param prefixed with _ to indicate intentionally unused
3128
}
3229
}
3330

0 commit comments

Comments
 (0)