1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Fixing status bar tests

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev 2022-10-12 11:10:58 +03:00
parent 5fa41d98ee
commit 6828e8b21f

View File

@ -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));
}); });