mirror of
https://github.com/samanhappy/mcphub.git
synced 2025-12-24 02:39:19 -05:00
Fix linting errors in security test
Co-authored-by: samanhappy <2755122+samanhappy@users.noreply.github.com>
This commit is contained in:
@@ -33,9 +33,9 @@ import { cleanupAllServers } from '../../src/services/mcpService.js';
|
|||||||
import { McpSettings, IUser } from '../../src/types/index.js';
|
import { McpSettings, IUser } from '../../src/types/index.js';
|
||||||
|
|
||||||
describe('Authentication Bypass Security Tests', () => {
|
describe('Authentication Bypass Security Tests', () => {
|
||||||
let appServer: AppServer;
|
let _appServer: AppServer;
|
||||||
let httpServer: Server;
|
let httpServer: Server;
|
||||||
let baseURL: string;
|
let _baseURL: string;
|
||||||
let testServerHelper: TestServerHelper;
|
let testServerHelper: TestServerHelper;
|
||||||
|
|
||||||
// Test users defined in settings
|
// Test users defined in settings
|
||||||
@@ -107,9 +107,9 @@ describe('Authentication Bypass Security Tests', () => {
|
|||||||
testServerHelper = new TestServerHelper();
|
testServerHelper = new TestServerHelper();
|
||||||
const result = await testServerHelper.createTestServer(settings);
|
const result = await testServerHelper.createTestServer(settings);
|
||||||
|
|
||||||
appServer = result.appServer;
|
_appServer = result.appServer;
|
||||||
httpServer = result.httpServer;
|
httpServer = result.httpServer;
|
||||||
baseURL = result.baseURL;
|
_baseURL = result.baseURL;
|
||||||
}, 60000);
|
}, 60000);
|
||||||
|
|
||||||
afterAll(async () => {
|
afterAll(async () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user