16 lines
533 B
TypeScript
16 lines
533 B
TypeScript
import {TestBed} from "@angular/core/testing";
|
|
import {AppComponent} from "./app.component";
|
|
import {FormsModule} from "@angular/forms";
|
|
|
|
describe('App', () => {
|
|
beforeEach(() => {
|
|
TestBed.configureTestingModule({
|
|
declarations: [AppComponent],
|
|
imports: [FormsModule]
|
|
});
|
|
});
|
|
it('should work', () => {
|
|
let fixture = TestBed.createComponent(AppComponent);
|
|
expect(fixture.componentInstance instanceof AppComponent).toBe(true, 'should create AppComponent');
|
|
});
|
|
}); |