Skip to content

Instantly share code, notes, and snippets.

@ManuelDeLeon
Last active November 5, 2020 17:45
Show Gist options
  • Save ManuelDeLeon/9acc50f8dcd884c20415ad078a8b3ee9 to your computer and use it in GitHub Desktop.
Save ManuelDeLeon/9acc50f8dcd884c20415ad078a8b3ee9 to your computer and use it in GitHub Desktop.
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { NO_ERRORS_SCHEMA } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { AppAddNumbersComponent } from './app-add-numbers.component';
describe('AppAddNumbersComponent', () => {
let component: AppAddNumbersComponent;
let fixture: ComponentFixture<AppAddNumbersComponent>;
beforeEach(() => {
TestBed.configureTestingModule({
imports: [FormsModule],
schemas: [NO_ERRORS_SCHEMA],
declarations: [AppAddNumbersComponent]
});
fixture = TestBed.createComponent(AppAddNumbersComponent);
component = fixture.componentInstance;
});
it('can load instance', () => {
expect(component).toBeTruthy();
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment