Skip to content

Instantly share code, notes, and snippets.

@krejko
Created January 13, 2018 19:05
Show Gist options
  • Save krejko/00b128da433e95c9653f0ed87d790499 to your computer and use it in GitHub Desktop.
Save krejko/00b128da433e95c9653f0ed87d790499 to your computer and use it in GitHub Desktop.
Login Service Spec Boilerplate
import { TestBed, inject } from '@angular/core/testing';
import { LoginService } from './login.service';
describe('LoginService', () => {
beforeEach(() => {
TestBed.configureTestingModule({
providers: [LoginService]
});
});
it('should be created', inject([LoginService], (service: LoginService) => {
expect(service).toBeTruthy();
}));
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment