Skip to content

Commit 093ca43

Browse files
#RI-3822-fix tests
1 parent 622aeaa commit 093ca43

File tree

2 files changed

+13
-4
lines changed

2 files changed

+13
-4
lines changed

redisinsight/ui/src/components/query-card/QueryCardHeader/styles.module.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,11 @@ $marginIcon: 12px;
5757
:global(.fullscreen) .titleWrapper {
5858
width: calc(100% - 402px);
5959

60-
@media (min-width: $breakpoint-s) {
61-
width: calc(100% - 447px);
60+
@media (min-width: $breakpoint-m) {
61+
width: calc(100% - 474px);
6262
}
6363

64-
@media (min-width: $breakpoint-m) {
64+
@media (min-width: $breakpoint-l) {
6565
width: calc(100% - 519px);
6666
}
6767
}

redisinsight/ui/src/slices/tests/workbench/wb-results.spec.ts

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,16 @@ describe('workbench results slice', () => {
218218
}
219219
const state = {
220220
...initialStateWithItems,
221-
items: []
221+
items: [{
222+
id: mockItemId + 0,
223+
loading: false,
224+
isOpen: true,
225+
error: '',
226+
result: [{
227+
response: data,
228+
status: 'fail',
229+
}]
230+
}]
222231
}
223232

224233
// Act

0 commit comments

Comments
 (0)