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:
Janne SavolainenandMikko Aspiala committed 2022-05-11 08:18:32 +03:00
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);
});