mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
21 lines
499 B
TypeScript
21 lines
499 B
TypeScript
|
|
import { TestBed } from '@angular/core/testing';
|
||
|
|
import { AppComponent } from './app.component';
|
||
|
|
|
||
|
|
describe('AppComponent', () => {
|
||
|
|
beforeEach(async () => {
|
||
|
|
await TestBed.configureTestingModule({
|
||
|
|
declarations: [
|
||
|
|
AppComponent
|
||
|
|
],
|
||
|
|
}).compileComponents();
|
||
|
|
});
|
||
|
|
|
||
|
|
it('should create the app', () => {
|
||
|
|
const fixture = TestBed.createComponent(AppComponent);
|
||
|
|
const app = fixture.componentInstance;
|
||
|
|
expect(app).toBeTruthy();
|
||
|
|
});
|
||
|
|
|
||
|
|
// Add your unit tests here
|
||
|
|
});
|