From 7f9d545d8ceada241798f24a5eb89af4de72aa52 Mon Sep 17 00:00:00 2001 From: uinstinct <61635505+uinstinct@users.noreply.github.com> Date: Fri, 13 Jun 2025 11:11:38 +0530 Subject: [PATCH] remove comments in vitest.setup --- core/test/vitest.setup.ts | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/core/test/vitest.setup.ts b/core/test/vitest.setup.ts index f1a1e5643..3bd76d587 100644 --- a/core/test/vitest.setup.ts +++ b/core/test/vitest.setup.ts @@ -3,10 +3,6 @@ import { TextDecoder, TextEncoder } from "util"; import fetch, { Request, Response } from "node-fetch"; import { beforeAll } from "vitest"; -// if (process.env.DEBUG === "jest") { -// jest.setTimeout(5 * 60 * 1000); -// } - beforeAll(() => { // @ts-ignore globalThis.fetch = fetch; @@ -18,15 +14,3 @@ beforeAll(() => { // @ts-ignore globalThis.TextDecoder = TextDecoder; }); - -// https://github.com/mswjs/msw/issues/1576#issuecomment-1482643055 - -// TODO - currently causing tests to fail because sqlite is still running for some reason -// const clearTestDirectory = () => { -// if (fs.existsSync(process.env.CONTINUE_GLOBAL_DIR!)) { -// fs.rmSync(process.env.CONTINUE_GLOBAL_DIR!, { recursive: true }); -// } -// }; - -// globalThis.beforeAll(clearTestDirectory); -// globalThis.afterAll(clearTestDirectory);