about summary refs log tree commit diff
path: root/src/state/session/__tests__/session-test.ts
diff options
context:
space:
mode:
authordan <dan.abramov@gmail.com>2024-12-17 12:22:09 +0000
committerGitHub <noreply@github.com>2024-12-17 12:22:09 +0000
commit32611391a35cbfe3f4a57882c117d52de022fb89 (patch)
tree245a98d941d81f4adc4b18fee7a74369849d20a3 /src/state/session/__tests__/session-test.ts
parent07b7250682c2841e9428c509707d08c17a4317df (diff)
downloadvoidsky-32611391a35cbfe3f4a57882c117d52de022fb89.tar.zst
Pipe statsig events to logger (#7141)
* Pipe statsig events to logger

* Log rich objects to bitdrift

* Fix tests

* Consolidate mocks, fix tests

* Reduce log trash on native
Diffstat (limited to 'src/state/session/__tests__/session-test.ts')
-rw-r--r--src/state/session/__tests__/session-test.ts13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/state/session/__tests__/session-test.ts b/src/state/session/__tests__/session-test.ts
index 7a5ddfa97..dec8ec48b 100644
--- a/src/state/session/__tests__/session-test.ts
+++ b/src/state/session/__tests__/session-test.ts
@@ -4,25 +4,12 @@ import {describe, expect, it, jest} from '@jest/globals'
 import {agentToSessionAccountOrThrow} from '../agent'
 import {Action, getInitialState, reducer, State} from '../reducer'
 
-jest.mock('statsig-react-native-expo', () => ({
-  Statsig: {
-    initialize() {},
-    initializeCalled() {
-      return false
-    },
-  },
-}))
-
 jest.mock('jwt-decode', () => ({
   jwtDecode(_token: string) {
     return {}
   },
 }))
 
-jest.mock('expo-localization', () => ({
-  getLocales: () => [],
-}))
-
 describe('session', () => {
   it('can log in and out', () => {
     let state = getInitialState([])