diff --git a/src/app/core/google-tag-manager/google-tag-manager.service.spec.ts b/src/app/core/google-tag-manager/google-tag-manager.service.spec.ts index 0c57dbc7fd..58100bcd06 100644 --- a/src/app/core/google-tag-manager/google-tag-manager.service.spec.ts +++ b/src/app/core/google-tag-manager/google-tag-manager.service.spec.ts @@ -47,7 +47,7 @@ describe('GoogleTagManagerService', () => { } )) - it('should be able to add script element and throw error because cannot connect with GTM', inject( + it('should be able to add script element and throw error because cannot connect with GTM', inject( [GoogleTagManagerService], (service: GoogleTagManagerService) => { service.addGtmToDom().subscribe( @@ -60,8 +60,7 @@ describe('GoogleTagManagerService', () => { }, (error) => { expect(error).toEqual({ - name: 'GTM - Error', - message: 'Unable to add GTM', + name: 'GTM - Error' }) } ) @@ -79,7 +78,6 @@ describe('GoogleTagManagerService', () => { (error) => { expect(error).toEqual({ name: 'GTM - Error', - message: 'Unable to add GTM', }) } )