Ivy compatible test modules (#5718)

* ivy compatible core unit tests

* ivy compatible content tests

* ivy compatible process tests

* ivy compatible process cloud tests

* ivy compatible insights tests

* fix content test

* fix content test
This commit is contained in:
Denys Vuika
2020-05-21 16:25:28 +01:00
committed by GitHub
parent 9f2faee027
commit ae3ac440bc
276 changed files with 1079 additions and 372 deletions

View File

@@ -19,9 +19,8 @@ import { TestBed } from '@angular/core/testing';
import { of } from 'rxjs';
import { ProcessContentService } from './process-content.service';
import { setupTestBed } from '../../testing/setup-test-bed';
import { AlfrescoApiService } from '../../services/alfresco-api.service';
import { AlfrescoApiServiceMock } from '../../mock/alfresco-api.service.mock';
import { CoreTestingModule } from '../../testing/core.testing.module';
import { TranslateModule } from '@ngx-translate/core';
declare let jasmine: any;
@@ -70,10 +69,8 @@ describe('ProcessContentService', () => {
setupTestBed({
imports: [
TranslateModule.forRoot(),
CoreTestingModule
],
providers: [
{ provide: AlfrescoApiService, useClass: AlfrescoApiServiceMock }
]
});