use common/utils/singleton class for the stores

Signed-off-by: Roman <ixrock@gmail.com>
This commit is contained in:
Roman committed 2020-07-03 16:57:31 +03:00
1 parent d7cffeb7a8
commit 776fc4462c
14 files changed
+263 -307

No files matched your search

@@ -3,8 +3,10 @@ module.exports = {
match: jest.fn(),
app: {
getVersion: jest.fn().mockReturnValue("3.0.0"),
getPath: jest.fn().mockReturnValue("tmp"),
getLocale: jest.fn().mockRejectedValue("en"),
getPath: jest.fn((name: string) => {
return "tmp"
}),
},
remote: {
app: {