diff --git a/tests/main.test.ts b/tests/main.test.ts index 905b786..b93eb1e 100644 --- a/tests/main.test.ts +++ b/tests/main.test.ts @@ -8,7 +8,6 @@ import { Context, SupportedEvents } from "../src/types/context"; import { Octokit } from "@octokit/rest"; import { STRINGS } from "./__mocks__/strings"; import { createComment, setupTests } from "./__mocks__/helpers"; -import manifest from "../manifest.json"; import dotenv from "dotenv"; import { Logs } from "@ubiquity-dao/ubiquibot-logger"; import { Env } from "../src/types"; @@ -35,17 +34,6 @@ describe("Plugin tests", () => { await setupTests(); }); - it("Should serve the manifest file", async () => { - const worker = (await import("../src/worker")).default; - const response = await worker.fetch(new Request("http://localhost/manifest"), { - SUPABASE_KEY: "test", - SUPABASE_URL: "test", - VOYAGEAI_API_KEY: "test", - }); - const content = await response.json(); - expect(content).toEqual(manifest); - }); - it("When a comment is created it should add it to the database", async () => { const { context } = createContext(STRINGS.HELLO_WORLD, 1, 1, 1, 1, "sasasCreate"); await runPlugin(context);