diff options
Diffstat (limited to '')
-rw-r--r-- | src/pybind/mgr/dashboard/frontend/src/app/shared/services/favicon.service.spec.ts | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/pybind/mgr/dashboard/frontend/src/app/shared/services/favicon.service.spec.ts b/src/pybind/mgr/dashboard/frontend/src/app/shared/services/favicon.service.spec.ts new file mode 100644 index 000000000..0c9e619ea --- /dev/null +++ b/src/pybind/mgr/dashboard/frontend/src/app/shared/services/favicon.service.spec.ts @@ -0,0 +1,23 @@ +import { HttpClientTestingModule } from '@angular/common/http/testing'; +import { TestBed } from '@angular/core/testing'; + +import { CssHelper } from '~/app/shared/classes/css-helper'; +import { configureTestBed } from '~/testing/unit-test-helper'; +import { FaviconService } from './favicon.service'; + +describe('FaviconService', () => { + let service: FaviconService; + + configureTestBed({ + imports: [HttpClientTestingModule], + providers: [FaviconService, CssHelper] + }); + + beforeEach(() => { + service = TestBed.inject(FaviconService); + }); + + it('should be created', () => { + expect(service).toBeTruthy(); + }); +}); |