fix: replace require() imports with ES modules in tests
- Replaced all require() imports with proper ES module imports - Fixed ESLint @typescript-eslint/no-require-imports errors - Removed unused variable mockGetMCPProxyAddress - Added proper TypeScript types instead of 'any' - All tests passing and linting clean 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
62402b49c4
commit
760c7e4056
1 changed files with 44 additions and 33 deletions
|
|
@ -57,7 +57,7 @@ describe("configUtils", () => {
|
|||
...DEFAULT_INSPECTOR_CONFIG,
|
||||
MCP_PROXY_AUTH_TOKEN: {
|
||||
...DEFAULT_INSPECTOR_CONFIG.MCP_PROXY_AUTH_TOKEN,
|
||||
value: null as any,
|
||||
value: null as unknown as string,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
@ -69,4 +69,4 @@ describe("configUtils", () => {
|
|||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue