mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
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:
@@ -17,7 +17,6 @@
|
||||
|
||||
import { async, TestBed } from '@angular/core/testing';
|
||||
import {
|
||||
AlfrescoApiServiceMock,
|
||||
setupTestBed,
|
||||
AlfrescoApiService,
|
||||
LogService,
|
||||
@@ -42,6 +41,7 @@ import {
|
||||
mockIdentityGroupsCount
|
||||
} from '../mock/identity-group.service.mock';
|
||||
import { CoreTestingModule } from '../testing/core.testing.module';
|
||||
import { TranslateModule } from '@ngx-translate/core';
|
||||
|
||||
describe('IdentityGroupService', () => {
|
||||
let service: IdentityGroupService;
|
||||
@@ -50,10 +50,8 @@ describe('IdentityGroupService', () => {
|
||||
|
||||
setupTestBed({
|
||||
imports: [
|
||||
TranslateModule.forRoot(),
|
||||
CoreTestingModule
|
||||
],
|
||||
providers: [
|
||||
{ provide: AlfrescoApiService, useClass: AlfrescoApiServiceMock }
|
||||
]
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user