From 7b441b6342637c42cf33e76744a3dffa35830be8 Mon Sep 17 00:00:00 2001 From: gunshiz Date: Sun, 13 Sep 2026 15:56:38 +0700 Subject: [PATCH] fix : add base_url --- tests/public-performance.test.ts | 1 + vitest.config.mts | 3 +++ 2 files changed, 4 insertions(+) diff --git a/tests/public-performance.test.ts b/tests/public-performance.test.ts index e2dd90d..09c488e 100644 --- a/tests/public-performance.test.ts +++ b/tests/public-performance.test.ts @@ -48,6 +48,7 @@ describe("public rendering performance", () => { allow: "/", disallow: ["/admin", "/api", "/register"], }, + sitemap: "https://guide.example.test/sitemap.xml", }); }); }); diff --git a/vitest.config.mts b/vitest.config.mts index ffd9d94..1d97f45 100644 --- a/vitest.config.mts +++ b/vitest.config.mts @@ -3,6 +3,9 @@ import { defineConfig } from "vitest/config"; export default defineConfig({ test: { environment: "node", + env: { + BASE_URL: "https://guide.sudloh.com", + }, coverage: { provider: "v8", reporter: ["text", "json-summary"],