Skip to content

Commit 777a991

Browse files
committed
Fix
1 parent c38f43e commit 777a991

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

apps/desktop/src/main/channel-identity.test.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
import { describe, expect, it } from 'vitest'
1+
import { describe, expect, it, vi } from 'vitest'
2+
3+
vi.mock('electron', () => import('@/test/electron-mock'))
4+
25
import { APP_NAME_FOR_CHANNEL, channelForOrigin, DEFAULT_ORIGIN } from '@/main/config'
36
import { classifyNavigation } from '@/main/navigation'
47
import { DEV, identityForOrigin, LOCAL, PROD, STAGING } from '../../scripts/channels'

0 commit comments

Comments
 (0)