diff options
Diffstat (limited to 'src/pybind/mgr/dashboard/frontend/src/app/shared/components/motd/motd.component.spec.ts')
-rw-r--r-- | src/pybind/mgr/dashboard/frontend/src/app/shared/components/motd/motd.component.spec.ts | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/pybind/mgr/dashboard/frontend/src/app/shared/components/motd/motd.component.spec.ts b/src/pybind/mgr/dashboard/frontend/src/app/shared/components/motd/motd.component.spec.ts new file mode 100644 index 000000000..826a8a5d0 --- /dev/null +++ b/src/pybind/mgr/dashboard/frontend/src/app/shared/components/motd/motd.component.spec.ts @@ -0,0 +1,26 @@ +import { HttpClientTestingModule } from '@angular/common/http/testing'; +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { DashboardModule } from '~/app/ceph/dashboard/dashboard.module'; +import { SharedModule } from '~/app/shared/shared.module'; +import { configureTestBed } from '~/testing/unit-test-helper'; +import { MotdComponent } from './motd.component'; + +describe('MotdComponent', () => { + let component: MotdComponent; + let fixture: ComponentFixture<MotdComponent>; + + configureTestBed({ + imports: [DashboardModule, HttpClientTestingModule, SharedModule] + }); + + beforeEach(() => { + fixture = TestBed.createComponent(MotdComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); |