UNPKG

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) 438 B
import { TestBed } from '@angular/core/testing'; import { HttpClientTestingModule } from '@angular/common/http/testing'; import { AuthService } from './auth.service'; let service: AuthService; beforeEach(() => { TestBed.configureTestingModule({ providers: [AuthService], imports: [HttpClientTestingModule] }); }); it('should create', () => { service = TestBed.inject(AuthService); expect(service).toBeTruthy(); });