fixing tests, part 1

This commit is contained in:
Roman committed 2020-06-22 19:33:01 +03:00
1 parent 7d6b26f9b6
commit a85dca7c38
3 files changed
+18 -3

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
module.exports = {
require: jest.fn(),
match: jest.fn(),
app: {
getVersion: jest.fn().mockReturnValue("3.0.0"),
getPath: jest.fn().mockReturnValue("/foo/bar")
},
remote: {
app: {
getPath: jest.fn()
}
},
dialog: jest.fn()
};