Update frontend test for ci
CI / backend (push) Canceled after 19s
CI / frontend (push) Successful in 4m39s

This commit is contained in:
voltsrage
2026-08-05 22:20:05 +08:00
parent d307b915cb
commit 943d41339c
3 changed files with 79 additions and 74 deletions
@@ -1,6 +1,6 @@
import { describe, it, expect, vi, beforeEach } from 'vitest'
import { setActivePinia, createPinia } from 'pinia'
import { useAlertQualityStore } from './alertQuality'
import { useAlertQualityStore } from '@/stores/alertQuality'
vi.mock('@/api/alertQuality', () => ({
submitAlertFeedback: vi.fn().mockResolvedValue({ id: 'fb-1', createdAt: '2026-06-23T00:00:00Z' }),