File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
redisinsight/ui/src/pages/browser/components/add-key/AddKeyReJSON Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ describe('AddKeyReJSON', () => {
103
103
expect ( fileInput . files . length ) . toBe ( 1 )
104
104
} )
105
105
106
- it ( 'should set the incorrect value from json file' , async ( ) => {
106
+ it ( 'should set the value from json file' , async ( ) => {
107
107
render ( < AddKeyReJSON { ...instance ( mockedProps ) } keyName = "name" /> )
108
108
109
109
const jsonString = JSON . stringify ( { a : 12 } )
@@ -120,7 +120,7 @@ describe('AddKeyReJSON', () => {
120
120
await waitFor ( ( ) => expect ( screen . getByTestId ( 'json-value' ) ) . toHaveValue ( '{"a":12}' ) )
121
121
} )
122
122
123
- it ( 'should set the value from json file' , async ( ) => {
123
+ it ( 'should set the incorrect json value from json file' , async ( ) => {
124
124
render ( < AddKeyReJSON { ...instance ( mockedProps ) } keyName = "name" /> )
125
125
126
126
const jsonString = JSON . stringify ( '{ a: 12' )
You can’t perform that action at this time.
0 commit comments