repo.or.cz
/
ProtonMail-WebClient.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge branch 'renovate/all-minor-patch' into 'main'
[ProtonMail-WebClient.git]
/
packages
/
testing
/
lib
/
mockUnleash.ts
blob
6cc431a7c482b462654b69fa62f7fbbca607f271
1
jest.mock('@unleash/proxy-client-react', () => ({
2
__esModule: true,
3
useFlag: jest.fn(),
4
useUnleashClient: jest.fn().mockReturnValue({
5
isEnabled: jest.fn(),
6
}),
7
useFlags: () => {},
8
useVariant: () => ({
9
name: 'disabled',
10
}),
11
useFlagsStatus: () => {},
12
}));