Skip to content

Commit d7463c2

Browse files
authored
chore: get tests working again (#83)
1 parent 592125c commit d7463c2

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@
4242
"scripts": {
4343
"build": "tsup",
4444
"dev": "tsup --watch",
45-
"test": "vitest",
45+
"test": "vitest run",
46+
"test:watch": "vitest watch",
4647
"version-packages": "changeset version",
4748
"changeset": "changeset",
4849
"release": "pnpm build && changeset publish"

tests/e2e.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import type { AddressInfo } from "node:net";
1010
import { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp.js";
1111
import { Client } from "@modelcontextprotocol/sdk/client/index.js";
1212
import { createMcpHandler } from "../src/index";
13-
import { withMcpAuth } from "../src/next/auth-wrapper";
13+
import { withMcpAuth } from "../src/auth/auth-wrapper";
1414

1515
describe("e2e", () => {
1616
let server: Server;

tests/mcp.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { describe, it, expect } from 'vitest';
2-
import { calculateEndpoints } from '../src/next/mcp-api-handler';
2+
import { calculateEndpoints } from '../src/handler/mcp-api-handler';
33

44
describe('calculateEndpoints', () => {
55
it('derives all endpoints from basePath', () => {

0 commit comments

Comments
 (0)