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.

app.component.spec.ts 609B

1234567891011121314151617181920212223
  1. import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
  2. import { TestBed, waitForAsync } from '@angular/core/testing';
  3. import { AppComponent } from './app.component';
  4. describe('AppComponent', () => {
  5. beforeEach(waitForAsync(() => {
  6. TestBed.configureTestingModule({
  7. declarations: [AppComponent],
  8. schemas: [CUSTOM_ELEMENTS_SCHEMA],
  9. }).compileComponents();
  10. }));
  11. it('should create the app', () => {
  12. const fixture = TestBed.createComponent(AppComponent);
  13. const app = fixture.debugElement.componentInstance;
  14. expect(app).toBeTruthy();
  15. });
  16. // TODO: add more tests!
  17. });