From 6b980f884ac5536db2d133948c157dba69f95ca1 Mon Sep 17 00:00:00 2001 From: Cheng Zhou Date: Thu, 9 Jul 2026 09:53:56 +0800 Subject: [PATCH] =?UTF-8?q?test:=20=E5=85=BC=E5=AE=B9=20Windows=20?= =?UTF-8?q?=E6=8D=A2=E8=A1=8C=E7=9A=84=E8=B7=AF=E7=94=B1=E6=96=AD=E8=A8=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/router.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/router.test.ts b/frontend/src/router.test.ts index 296ea545..882ac60c 100644 --- a/frontend/src/router.test.ts +++ b/frontend/src/router.test.ts @@ -2,7 +2,7 @@ import { describe, expect, it } from "vitest"; import { readFileSync } from "node:fs"; import { resolve } from "node:path"; -const readRouter = () => readFileSync(resolve(__dirname, "./router/index.ts"), "utf8"); +const readRouter = () => readFileSync(resolve(__dirname, "./router/index.ts"), "utf8").replace(/\r\n/g, "\n"); describe("admin project route permissions", () => { it("lets any authorized project role open the project management detail page", () => {