Skip to content

Commit 8f5d2b7

Browse files
committed
Reformat
1 parent fd08040 commit 8f5d2b7

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

tests/unit/index.test.ts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
import { jest, describe, it, expect, beforeEach } from "@jest/globals";
2-
import {runServer} from "../../src/index";
2+
import { runServer } from "../../src/index";
33
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio";
44

5-
65
// mock the StdioServerTransport
7-
jest.mock('@modelcontextprotocol/sdk/server/stdio.js');
6+
jest.mock("@modelcontextprotocol/sdk/server/stdio.js");
87
// mock Server class and its methods
9-
jest.mock('../../src/server.ts', () => {
8+
jest.mock("../../src/server.ts", () => {
109
return {
1110
Server: jest.fn().mockImplementation(() => {
1211
return {
@@ -20,7 +19,6 @@ jest.mock('../../src/server.ts', () => {
2019
};
2120
});
2221

23-
2422
describe("Server initialization", () => {
2523
it("should create a server instance", async () => {
2624
const server = await runServer();

0 commit comments

Comments
 (0)