24 lines
609 B
TypeScript
24 lines
609 B
TypeScript
|
import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
|
||
|
import { TestBed, waitForAsync } from '@angular/core/testing';
|
||
|
|
||
|
import { AppComponent } from './app.component';
|
||
|
|
||
|
describe('AppComponent', () => {
|
||
|
|
||
|
beforeEach(waitForAsync(() => {
|
||
|
|
||
|
TestBed.configureTestingModule({
|
||
|
declarations: [AppComponent],
|
||
|
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
||
|
}).compileComponents();
|
||
|
}));
|
||
|
|
||
|
it('should create the app', () => {
|
||
|
const fixture = TestBed.createComponent(AppComponent);
|
||
|
const app = fixture.debugElement.componentInstance;
|
||
|
expect(app).toBeTruthy();
|
||
|
});
|
||
|
// TODO: add more tests!
|
||
|
|
||
|
});
|