Created
January 13, 2018 19:05
-
-
Save krejko/00b128da433e95c9653f0ed87d790499 to your computer and use it in GitHub Desktop.
Login Service Spec Boilerplate
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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