mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-05 07:30:11 +00:00
[fix] Fix date format in PackCard test for locale consistency
This commit is contained in:
@@ -10,7 +10,7 @@ import type { MergedNodePack, RegistryPack } from '@/types/comfyManagerTypes'
|
||||
// Mock dependencies
|
||||
vi.mock('vue-i18n', () => ({
|
||||
useI18n: vi.fn(() => ({
|
||||
d: vi.fn((date) => date.toLocaleDateString()),
|
||||
d: vi.fn(() => '2024. 1. 1.'),
|
||||
t: vi.fn((key: string) => key)
|
||||
})),
|
||||
createI18n: vi.fn(() => ({
|
||||
|
||||
Reference in New Issue
Block a user