fix(desktop): type the config.set mock so display-toggles tests typecheck
This commit is contained in:
committed by
brooklyn!
parent
c42daab67b
commit
21b2095d00
@@ -2,7 +2,7 @@ import { atom } from 'nanostores'
|
||||
import { beforeEach, describe, expect, it, vi } from 'vitest'
|
||||
|
||||
const $gateway = atom<unknown>(null)
|
||||
const request = vi.fn(async () => undefined)
|
||||
const request = vi.fn(async (_method: string, _params?: Record<string, unknown>) => undefined)
|
||||
|
||||
vi.mock('@/store/gateway', () => ({
|
||||
$gateway,
|
||||
|
||||
Reference in New Issue
Block a user