You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
626 B
26 lines
626 B
|
4 years ago
|
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
||
|
|
|
||
|
|
import { ButtonComponent } from './button.component';
|
||
|
|
|
||
|
|
describe('ButtonComponent', () => {
|
||
|
|
let component: ButtonComponent;
|
||
|
|
let fixture: ComponentFixture<ButtonComponent>;
|
||
|
|
|
||
|
|
beforeEach(async () => {
|
||
|
|
await TestBed.configureTestingModule({
|
||
|
|
declarations: [ ButtonComponent ]
|
||
|
|
})
|
||
|
|
.compileComponents();
|
||
|
|
});
|
||
|
|
|
||
|
|
beforeEach(() => {
|
||
|
|
fixture = TestBed.createComponent(ButtonComponent);
|
||
|
|
component = fixture.componentInstance;
|
||
|
|
fixture.detectChanges();
|
||
|
|
});
|
||
|
|
|
||
|
|
it('should create', () => {
|
||
|
|
expect(component).toBeTruthy();
|
||
|
|
});
|
||
|
|
});
|