Skip to content

Commit 281303b

Browse files
committed
fix panel sizes test
1 parent 61f95c1 commit 281303b

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

redisinsight/ui/src/slices/tests/app/context.spec.ts

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -358,16 +358,10 @@ describe('slices', () => {
358358
describe('setWorkbenchVerticalPanelSizes', () => {
359359
it('should properly set wb panel sizes', () => {
360360
// Arrange
361-
const panelSizes = {
362-
first: 100,
363-
second: 200,
364-
}
361+
const panelSizes = [100, 200]
365362
const state = {
366363
...initialState.workbench,
367-
panelSizes: {
368-
...initialState.workbench.panelSizes,
369-
vertical: panelSizes,
370-
},
364+
panelSizes,
371365
}
372366

373367
// Act

0 commit comments

Comments
 (0)