Fix use of bundled kubectl (#241)

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
Jari Kolehmainen authored and GitHub committed 2020-04-11 17:48:29 +03:00
1 parent 758034f61a
commit d80e956870
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()
};