mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Mark electron to cause side effects in unit tests
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com> Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
This commit is contained in:
parent
b157bda76b
commit
a1fd61e41b
@ -24,7 +24,7 @@ import { app } from "electron";
|
||||
const electronAppInjectable = getInjectable({
|
||||
instantiate: () => app,
|
||||
lifecycle: lifecycleEnum.singleton,
|
||||
causesSideEffects: false,
|
||||
causesSideEffects: true,
|
||||
});
|
||||
|
||||
export default electronAppInjectable;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user