mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Stop running setups in unit tests without need
Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com> Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
This commit is contained in:
1 parent
815651e3ad
commit
4d79d25b6e
27 files changed
+27
-83
No files matched your search
@@ -28,13 +28,11 @@ const logs = [
|
||||
describe("search store tests", () => {
|
||||
let searchStore: SearchStore;
|
||||
|
||||
beforeEach(async () => {
|
||||
beforeEach(() => {
|
||||
const di = getDiForUnitTesting({ doGeneralOverrides: true });
|
||||
|
||||
di.override(directoryForUserDataInjectable, () => "some-directory-for-user-data");
|
||||
|
||||
await di.runSetups();
|
||||
|
||||
searchStore = di.inject(searchStoreInjectable);
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user