Skip to content

Commit 1acbbf4

Browse files
committed
fix tests
1 parent 7745d7f commit 1acbbf4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

redisinsight/ui/src/slices/tests/instances.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -678,7 +678,7 @@ describe('instances slice', () => {
678678
setDefaultInstanceSuccess(),
679679
]
680680

681-
expect(store.getActions().splice(0, 2)).toEqual(expectedActions)
681+
expect(store.getActions().splice(0, expectedActions.length)).toEqual(expectedActions)
682682
})
683683

684684
it('call both checkConnectToInstance and setDefaultInstanceFailure when fetch is fail', async () => {

0 commit comments

Comments
 (0)