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:
parent
5fa41d98ee
commit
6828e8b21f
@ -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));
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user