Fixing status bar tests

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev committed 2022-10-13 10:17:44 +03:00
1 parent 5fa41d98ee
commit 6828e8b21f
1 file changed
+1 -1
@@ -65,7 +65,7 @@ describe("<StatusBar />", () => {
builder.beforeWindowStart((windowDi) => { builder.beforeWindowStart((windowDi) => {
windowDi.override(statusBarItemsInjectable, () => computed(() => ({ windowDi.override(statusBarItemsInjectable, () => computed(() => ({
right: [ () => <span data-testid={testId} >{text}</span> ], right: [ { id: testId, component: () => <span data-testid={testId} >{text}</span> }],
left: [], left: [],
}) as StatusBarItems)); }) as StatusBarItems));
}); });