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

@@ -21,6 +21,8 @@ import { StorageService } from './storage.service';
import { setupTestBed } from '../testing/setup-test-bed';
import { CoreTestingModule } from '../testing/core.testing.module';
import { AppConfigServiceMock } from '../mock/app-config.service.mock';
import { TranslateModule } from '@ngx-translate/core';
import { CoreModule } from '../core.module';
describe('StorageService', () => {
@@ -31,7 +33,11 @@ describe('StorageService', () => {
describe('StorageService', () => {
setupTestBed({
imports: [CoreTestingModule]
imports: [
TranslateModule.forRoot(),
CoreModule.forRoot(),
CoreTestingModule
]
});
beforeEach(() => {
@@ -77,7 +83,10 @@ describe('StorageService', () => {
describe('StorageService', () => {
setupTestBed({
imports: [CoreTestingModule]
imports: [
TranslateModule.forRoot(),
CoreTestingModule
]
});
beforeEach(() => {