fix(desktop): type the config.set mock so display-toggles tests typecheck

This commit is contained in:
Brooklyn Nicholson
2026-08-31 20:59:49 -05:00
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,