diff options
author | dan <dan.abramov@gmail.com> | 2024-12-17 12:22:09 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-17 12:22:09 +0000 |
commit | 32611391a35cbfe3f4a57882c117d52de022fb89 (patch) | |
tree | 245a98d941d81f4adc4b18fee7a74369849d20a3 /src/state/session/__tests__/session-test.ts | |
parent | 07b7250682c2841e9428c509707d08c17a4317df (diff) | |
download | voidsky-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.ts | 13 |
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([]) |