There was an error while loading. Please reload this page.
1 parent c38f43e commit 777a991Copy full SHA for 777a991
1 file changed
apps/desktop/src/main/channel-identity.test.ts
@@ -1,4 +1,7 @@
1
-import { describe, expect, it } from 'vitest'
+import { describe, expect, it, vi } from 'vitest'
2
+
3
+vi.mock('electron', () => import('@/test/electron-mock'))
4
5
import { APP_NAME_FOR_CHANNEL, channelForOrigin, DEFAULT_ORIGIN } from '@/main/config'
6
import { classifyNavigation } from '@/main/navigation'
7
import { DEV, identityForOrigin, LOCAL, PROD, STAGING } from '../../scripts/channels'
0 commit comments