mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-12-04 15:14:10 +00:00
fix(chat): remove explicit any in test mock to fix CI lint
This commit is contained in:
@@ -7,7 +7,7 @@ vi.mock('@/ui/api/client', () => {
|
|||||||
const chatMock = {
|
const chatMock = {
|
||||||
$post: vi.fn(),
|
$post: vi.fn(),
|
||||||
sessions: {
|
sessions: {
|
||||||
$get: vi.fn(() => Promise.resolve({ ok: true, json: async () => ({ data: [] }) } as any)),
|
$get: vi.fn(() => Promise.resolve({ ok: true, json: async () => ({ data: [] }) } as unknown)),
|
||||||
$delete: vi.fn(),
|
$delete: vi.fn(),
|
||||||
messages: {
|
messages: {
|
||||||
$get: vi.fn(),
|
$get: vi.fn(),
|
||||||
|
|||||||
Reference in New Issue
Block a user