test(cloud): RA-11 restart env test without a cast

This commit is contained in:
Neil
2026-11-10 19:04:35 -08:00
parent dcfb8139e1
commit c197c3de0b
@@ -1,6 +1,9 @@
import { describe, expect, it, vi } from 'vitest'
const state = vi.hoisted(() => ({ cloud: true, ptyId: 'remote:env-1@@term_1' as string | null }))
const state = vi.hoisted((): { cloud: boolean; ptyId: string | null } => ({
cloud: true,
ptyId: 'remote:env-1@@term_1'
}))
vi.mock('@/store', () => ({
useAppStore: {
getState: () => ({