unit test cleanup (#454)

* auth mock

* avoid using jasmine

* cleanup preview tests

* cleanup recent files tests

* cleanup shared files tests

* remove fdescribe

* update tests

* move adf services to single place

* move app specific services to single place

* cleanup directive tests

* cleanup directive tests

* update directive tests
This commit is contained in:
Denys Vuika
2018-06-24 17:33:50 +01:00
committed by GitHub
parent e846d97317
commit ac6e96530f
19 changed files with 223 additions and 543 deletions

View File

@@ -41,16 +41,10 @@ describe('HeaderComponent', () => {
beforeEach(() => {
TestBed.configureTestingModule({
imports: [
AppTestingModule
],
imports: [ AppTestingModule ],
declarations: [
HeaderComponent
],
providers: [
AppConfigService,
PeopleContentService
],
schemas: [ NO_ERRORS_SCHEMA ]
})
.overrideProvider(PeopleContentService, {