mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Stop using remote to obtain app.getPath()
- Initialize entire map in bootstrap() - Updated unit tests Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
1 parent
c4046f657a
commit
664f1c07e5
35 files changed
+326
-94
No files matched your search
@@ -26,11 +26,6 @@ export default {
|
||||
getLocale: jest.fn().mockRejectedValue("en"),
|
||||
getPath: jest.fn(() => "tmp"),
|
||||
},
|
||||
remote: {
|
||||
app: {
|
||||
getPath: jest.fn()
|
||||
}
|
||||
},
|
||||
dialog: jest.fn(),
|
||||
ipcRenderer: {
|
||||
on: jest.fn()
|
||||
|
||||
Reference in new issue
Block a user