Mock statsig

This commit is contained in:
Dan Abramov
2024-12-13 03:55:35 +00:00
parent 8fa630ab6c
commit 17e37ede40
@@ -4,6 +4,15 @@ 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 {}