Reinitialize redux after importing a backup
This commit is contained in:
parent
19e0eb4444
commit
abdef4847a
21 changed files with 437 additions and 264 deletions
|
@ -99,10 +99,10 @@ window.testUtilities = {
|
|||
await Stickers.load();
|
||||
|
||||
initializeRedux({
|
||||
badgesState: { byId: {} },
|
||||
callLinks: [],
|
||||
callsHistory: [],
|
||||
callsHistoryUnreadCount: 0,
|
||||
initialBadgesState: { byId: {} },
|
||||
callHistory: [],
|
||||
callHistoryUnreadCount: 0,
|
||||
mainWindowStats: {
|
||||
isFullScreen: false,
|
||||
isMaximized: false,
|
||||
|
@ -114,8 +114,17 @@ window.testUtilities = {
|
|||
isProduction: false,
|
||||
platform: 'test',
|
||||
},
|
||||
recentEmoji: {
|
||||
recents: [],
|
||||
},
|
||||
stories: [],
|
||||
storyDistributionLists: [],
|
||||
stickers: {
|
||||
installedPack: null,
|
||||
packs: {},
|
||||
recentStickers: [],
|
||||
blessedPacks: {},
|
||||
},
|
||||
theme: ThemeType.dark,
|
||||
});
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue