better-npm-init
Version:
A better version of npm init, with templates and more. Usage: better-npm-init <template> [--yarn] [--install] [--git] [--yes] [--help]
15 lines (11 loc) • 468 B
text/typescript
import { NO_ERRORS_SCHEMA } from '@angular/core';
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { AppComponent } from './app.component';
let component: ComponentFixture<AppComponent>;
beforeEach(() => {
TestBed.configureTestingModule({ declarations: [AppComponent], schemas: [NO_ERRORS_SCHEMA] });
});
it('should create', () => {
component = TestBed.createComponent(AppComponent);
expect(component).toBeTruthy();
});