Skip to content

Commit b240c71

Browse files
committed
#RI-3483 - fix tests
1 parent 58577b2 commit b240c71

File tree

1 file changed

+1
-1
lines changed
  • redisinsight/ui/src/pages/databaseAnalysis/components/top-keys

1 file changed

+1
-1
lines changed

redisinsight/ui/src/pages/databaseAnalysis/components/top-keys/Table.spec.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ describe('Table', () => {
4646
it('should render correct length', () => {
4747
render(<Table {...instance(mockedProps)} data={mockData} />)
4848
expect(screen.getByTestId('length-empty-name_1')).toHaveTextContent('-')
49-
expect(screen.getByTestId('length-value-name')).toHaveTextContent('10')
49+
expect(screen.getByTestId(/length-value-name/).textContent).toEqual('100 000 000')
5050
})
5151

5252
it('should highlight big keys', () => {

0 commit comments

Comments
 (0)