From b6b350bbf799456902b3ce4d8c4af62d2f7ea6c8 Mon Sep 17 00:00:00 2001 From: admin123 Date: Mon, 20 Apr 2026 19:57:45 +0800 Subject: [PATCH] chore: tighten bootstrap test and build config --- scripts/build.mjs | 1 - vitest.config.ts | 1 - 2 files changed, 2 deletions(-) diff --git a/scripts/build.mjs b/scripts/build.mjs index 08163b8..55d8f3d 100644 --- a/scripts/build.mjs +++ b/scripts/build.mjs @@ -16,7 +16,6 @@ await build({ index: path.join(projectRoot, "src/content/index.ts") }, format: ["iife"], - globalName: "StarChartSearchEnhancer", platform: "browser", target: "chrome114", outDir: path.join(distDir, "content"), diff --git a/vitest.config.ts b/vitest.config.ts index e9ff8c3..91612b6 100644 --- a/vitest.config.ts +++ b/vitest.config.ts @@ -2,7 +2,6 @@ import { defineConfig } from "vitest/config"; export default defineConfig({ test: { - environment: "jsdom", globals: true, passWithNoTests: true, include: ["tests/**/*.test.ts"]