chore: build frontend and fix tsc config for vitest/config import

This commit is contained in:
Sean Doran committed 2026-03-07 23:14:32 -05:00
1 parent 095882034b
commit 9bebb13b2c
7 files changed
+17 -16

No files matched your search

+2 -2
View File
@@ -39,12 +39,12 @@ interface RenderOptions {
runningApps?: string[];
sinks?: AudioDevice[];
sources?: AudioDevice[];
onChange?: ReturnType<typeof vi.fn>;
onChange?: (knob: KnobConfig) => void;
}
function renderCard(
overrides: Partial<KnobConfig> = {},
{ runningApps, sinks, sources, onChange = vi.fn() }: RenderOptions = {},
{ runningApps, sinks, sources, onChange = vi.fn() as (knob: KnobConfig) => void }: RenderOptions = {},
) {
const knob: KnobConfig = {
action: 'app_volume',
+1 -1
View File
@@ -4,7 +4,7 @@
"target": "ES2023",
"lib": ["ES2023"],
"module": "ESNext",
"types": ["node"],
"types": ["node", "vitest/globals"],
"skipLibCheck": true,
/* Bundler mode */
+2 -1
View File
@@ -1,4 +1,5 @@
import { defineConfig } from 'vite'
/// <reference types="vitest" />
import { defineConfig } from 'vitest/config'
import react from '@vitejs/plugin-react'
// https://vite.dev/config/