mirror of
https://github.com/stablyai/orca.git
synced 2026-11-18 11:54:46 +00:00
test(cloud): RA-11 restart env test without a cast
This commit is contained in:
@@ -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: () => ({
|
||||
|
||||
Reference in New Issue
Block a user