1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
lens/src/common/__tests__
Sebastian Malton f297407156
Stop using @electron/remote to obtain app.getPath() (#4078)
* Stop using remote to obtain app.getPath()

- Initialize entire map in bootstrap()

- Updated unit tests

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Resolve PR comments

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Fix test

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Fix build

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Ensure that init can only be called once and catch errors

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Replace basically all uses of app.getPath() with AppPaths.get()

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Fix unit tests

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-10-27 21:07:41 -04:00
..
catalog-category-registry.test.ts Add CatalogCategory filter to the extension API (#3718) 2021-09-13 15:46:28 +03:00
cluster-store.test.ts Stop using @electron/remote to obtain app.getPath() (#4078) 2021-10-27 21:07:41 -04:00
event-bus.test.ts Check source files for license header (#2763) 2021-05-12 18:33:26 +03:00
event-emitter.test.ts Cleanup <EventEmitter> (#3338) 2021-07-20 08:39:44 -04:00
hotbar-store.test.ts Stop using @electron/remote to obtain app.getPath() (#4078) 2021-10-27 21:07:41 -04:00
kube-helpers.test.ts Remove exec.command checking (#3881) 2021-10-14 08:46:23 -04:00
search-store.test.ts Replace Ace Editor with monaco (#2949) 2021-08-12 13:00:52 +03:00
user-store.test.ts Stop using @electron/remote to obtain app.getPath() (#4078) 2021-10-27 21:07:41 -04:00