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

@@ -24,6 +24,7 @@ import { EcmUserService } from '../services/ecm-user.service';
import { PeopleProcessService } from '../services/people-process.service';
import { setupTestBed } from '../testing/setup-test-bed';
import { CoreTestingModule } from '../testing/core.testing.module';
import { TranslateModule } from '@ngx-translate/core';
const testUser: UserProcessModel = new UserProcessModel({
id: '1',
@@ -111,7 +112,10 @@ describe('CommentListComponent', () => {
let peopleProcessService: PeopleProcessService;
setupTestBed({
imports: [CoreTestingModule],
imports: [
TranslateModule.forRoot(),
CoreTestingModule
],
schemas: [CUSTOM_ELEMENTS_SCHEMA]
});

View File

@@ -23,6 +23,7 @@ import { CommentsComponent } from './comments.component';
import { CommentContentService } from '../services/comment-content.service';
import { setupTestBed } from '../testing/setup-test-bed';
import { CoreTestingModule } from '../testing/core.testing.module';
import { TranslateModule } from '@ngx-translate/core';
describe('CommentsComponent', () => {
@@ -36,7 +37,10 @@ describe('CommentsComponent', () => {
let commentContentService: CommentContentService;
setupTestBed({
imports: [CoreTestingModule],
imports: [
TranslateModule.forRoot(),
CoreTestingModule
],
schemas: [CUSTOM_ELEMENTS_SCHEMA]
});