File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/pages/endpoint/__tests__ Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ describe('<Endpoint />', () => {
33
33
await userEvent . type ( appIdInput , '123' ) ;
34
34
await userEvent . click ( submitButton ) ;
35
35
36
- expect ( LocalStorageUtils . getValue ( 'config.server_url' ) ?? '' ) . toBe ( 'qa10.deriv.dev' ) ;
36
+ expect ( localStorage . getItem ( 'config.server_url' ) ?? '' ) . toBe ( 'qa10.deriv.dev' ) ;
37
37
expect ( LocalStorageUtils . getValue ( 'config.app_id' ) ?? '' ) . toBe ( '123' ) ;
38
38
} ) ;
39
39
@@ -48,7 +48,7 @@ describe('<Endpoint />', () => {
48
48
await userEvent . type ( appIdInput , '123' ) ;
49
49
await userEvent . click ( resetButton ) ;
50
50
51
- expect ( LocalStorageUtils . getValue ( 'config.server_url' ) ?? '' ) . toBe ( 'blue.derivws.com' ) ;
51
+ expect ( localStorage . getItem ( 'config.server_url' ) ?? '' ) . toBe ( 'blue.derivws.com' ) ;
52
52
expect ( LocalStorageUtils . getValue ( 'config.app_id' ) ?? '' ) . toBe ( 65555 ) ;
53
53
} ) ;
54
54
} ) ;
You can’t perform that action at this time.
0 commit comments