fix use of bundled kubectl

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
Jari Kolehmainen committed 2020-04-11 17:39:25 +03:00
1 parent 758034f61a
commit 3a34d16b66
5 files changed
+45 -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()
};