File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/app/shared/stores/addons Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ describe('State: Addons', () => {
3535 it ( 'should fetch storage addons and update state and selector output' , inject (
3636 [ HttpTestingController ] ,
3737 ( httpMock : HttpTestingController ) => {
38- let result : any [ ] = [ ] ;
38+ let result : any [ ] | null = [ ] ;
3939 store . dispatch ( new GetStorageAddons ( ) ) . subscribe ( ( ) => {
4040 result = store . selectSnapshot ( AddonsSelectors . getStorageAddons ) ;
4141 } ) ;
@@ -106,7 +106,7 @@ describe('State: Addons', () => {
106106 req . flush ( { message : 'Internal Server Error' } , { status : 500 , statusText : 'Server Error' } ) ;
107107
108108 expect ( result ) . toEqual ( {
109- data : [ ] ,
109+ data : null ,
110110 error : 'Http failure response for http://addons.localhost:8000/external-storage-services: 500 Server Error' ,
111111 isLoading : false ,
112112 isSubmitting : false ,
You can’t perform that action at this time.
0 commit comments