From 12a7022949f548fe14091dd1181b7787b789ca30 Mon Sep 17 00:00:00 2001 From: Marius Kaczmarek Date: Thu, 19 Sep 2024 12:05:57 +0200 Subject: [PATCH] added missing await in async test --- .../Presentation/Babylon/Decoration/DecorationView.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Components/CoreTest/Presentation/Babylon/Decoration/DecorationView.test.ts b/src/Components/CoreTest/Presentation/Babylon/Decoration/DecorationView.test.ts index 7ed092452..10f79e594 100644 --- a/src/Components/CoreTest/Presentation/Babylon/Decoration/DecorationView.test.ts +++ b/src/Components/CoreTest/Presentation/Babylon/Decoration/DecorationView.test.ts @@ -78,7 +78,7 @@ describe("DecorationView", () => { viewModel.theme = LearningSpaceThemeType.CampusAB; viewModel.learningSpaceTemplateType = LearningSpaceTemplateType.None; - systemUnderTest.asyncSetup(); + await systemUnderTest.asyncSetup(); expect(scenePresenterMock.loadModel).not.toHaveBeenCalled(); expect(viewModel.insideMeshes).toStrictEqual([]);