diff --git a/apps/ai-game-creator-shell/tests/runPreviewRefresh.test.tsx b/apps/ai-game-creator-shell/tests/runPreviewRefresh.test.tsx index a78377746..c0fa9213e 100644 --- a/apps/ai-game-creator-shell/tests/runPreviewRefresh.test.tsx +++ b/apps/ai-game-creator-shell/tests/runPreviewRefresh.test.tsx @@ -2,7 +2,10 @@ import { cleanup, fireEvent, render, screen } from '@testing-library/react'; import { afterEach, describe, expect, it, vi } from 'vitest'; -import { createGameCreationAppManifest } from '../../../packages/shared/src/contracts/gameCreationApp'; +import { + createGameCreationAppManifest, + type GameCreationAppPreviewState, +} from '../../../packages/shared/src/contracts/gameCreationApp'; import ProjectDevelopmentView from '../src/view/project-development'; import { installTauriRuntime } from './tauriRuntimeFake'; @@ -38,7 +41,7 @@ function installInvoke() { } function renderRunView( - preview: { status: string; url: string | null; port: number | null } = { + preview: GameCreationAppPreviewState = { status: 'running', url: PREVIEW_URL, port: 4173,