Enhance Deno project with new test scripts, add testing commands to deno.json, and update implementation plan to reflect completed testing tasks. Introduce integration and unit tests for core functionalities including DenoHttpServer and mcp-auth-config.

This commit is contained in:
Minoru Mizutani 2025-04-29 04:11:34 +09:00
parent 2bbcaf7963
commit 8cadfe9106
No known key found for this signature in database
9 changed files with 551 additions and 5 deletions

View file

@ -1,3 +1,4 @@
/// <reference lib="dom.iterable" />
import type { Server } from "node:http";
// Simple type definitions for our server
@ -27,9 +28,9 @@ export class DenoHttpServer {
// Create a simple request object that mimics Express req
const query: Record<string, string> = {};
for (const [key, value] of searchParams) {
searchParams.forEach((value, key) => {
query[key] = value;
}
});
const req: RequestLike = {
query,