Skip to content

Commit 077d99e

Browse files
#RI-4061 - resolve comments
1 parent 774d570 commit 077d99e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

redisinsight/ui/src/pages/browser/components/add-key/AddKeyReJSON/AddKeyReJSON.spec.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ describe('AddKeyReJSON', () => {
103103
expect(fileInput.files.length).toBe(1)
104104
})
105105

106-
it('should set the incorrect value from json file', async () => {
106+
it('should set the value from json file', async () => {
107107
render(<AddKeyReJSON {...instance(mockedProps)} keyName="name" />)
108108

109109
const jsonString = JSON.stringify({ a: 12 })
@@ -120,7 +120,7 @@ describe('AddKeyReJSON', () => {
120120
await waitFor(() => expect(screen.getByTestId('json-value')).toHaveValue('{"a":12}'))
121121
})
122122

123-
it('should set the value from json file', async () => {
123+
it('should set the incorrect json value from json file', async () => {
124124
render(<AddKeyReJSON {...instance(mockedProps)} keyName="name" />)
125125

126126
const jsonString = JSON.stringify('{ a: 12')

0 commit comments

Comments
 (0)