From 4191d4d5f536cc2aa5ed165ad3eb9a9ceda6d3d8 Mon Sep 17 00:00:00 2001 From: Wxw-Gu Date: Mon, 14 Sep 2026 17:17:23 +0800 Subject: [PATCH] =?UTF-8?q?test:=20=E5=9B=BA=E5=AE=9A=E6=9C=AC=E5=9C=B0?= =?UTF-8?q?=E6=97=B6=E9=97=B4=E6=A0=87=E7=AD=BE=E7=9A=84=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=E6=97=B6=E5=8C=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/unit/local-query-api-service.test.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/unit/local-query-api-service.test.ts b/tests/unit/local-query-api-service.test.ts index 937c6eb..0b0f15d 100644 --- a/tests/unit/local-query-api-service.test.ts +++ b/tests/unit/local-query-api-service.test.ts @@ -1,5 +1,8 @@ import { describe, expect, it, vi, beforeEach } from 'vitest' +// Keep local-time label assertions deterministic; production follows the host timezone. +process.env.TZ = 'Asia/Shanghai' + const fixture = vi.hoisted(() => ({ contacts: [ { m_nsUsrName: 'wxid-bobo', m_nsNickName: 'BOBO', md5: 'md5-bobo', type: 'user' as const },