diff options
Diffstat (limited to '')
-rw-r--r-- | src/pybind/mgr/dashboard/frontend/src/app/shared/components/submit-button/submit-button.component.spec.ts | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/pybind/mgr/dashboard/frontend/src/app/shared/components/submit-button/submit-button.component.spec.ts b/src/pybind/mgr/dashboard/frontend/src/app/shared/components/submit-button/submit-button.component.spec.ts new file mode 100644 index 000000000..a7b7023d0 --- /dev/null +++ b/src/pybind/mgr/dashboard/frontend/src/app/shared/components/submit-button/submit-button.component.spec.ts @@ -0,0 +1,27 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; +import { FormGroup } from '@angular/forms'; + +import { configureTestBed } from '~/testing/unit-test-helper'; +import { SubmitButtonComponent } from './submit-button.component'; + +describe('SubmitButtonComponent', () => { + let component: SubmitButtonComponent; + let fixture: ComponentFixture<SubmitButtonComponent>; + + configureTestBed({ + declarations: [SubmitButtonComponent] + }); + + beforeEach(() => { + fixture = TestBed.createComponent(SubmitButtonComponent); + component = fixture.componentInstance; + + component.form = new FormGroup({}, {}); + + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); |