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:
Sebastian Malton committed 2021-10-27 09:09:13 -04:00
1 parent c4046f657a
commit 664f1c07e5
35 files changed
+326 -94

No files matched your search

-5
View File
@@ -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()