[ADF-2569] fix reload app.config.json (#3124)

* fix reload app.config.json

* improve style mobile
fix test

* test karma setup update

* fix core providers test

* remove unused providers

* use mock api in service test

* skip test in the wrong place

* remove comma

* remove fdescribe
This commit is contained in:
Eugenio Romano
2018-03-28 11:01:04 +01:00
committed by Denys Vuika
parent 21b8cd30ce
commit 9e2969b955
93 changed files with 228 additions and 436 deletions

View File

@@ -25,7 +25,6 @@ import { FormService } from './../../../services/form.service';
import { FormFieldModel } from './../core/form-field.model';
import { FormModel } from './../core/form.model';
import { DateTimeWidgetComponent } from './date-time.widget';
import { UserPreferencesService } from '../../../../services/user-preferences.service';
describe('DateTimeWidgetComponent', () => {
@@ -44,7 +43,6 @@ describe('DateTimeWidgetComponent', () => {
],
providers: [
FormService,
UserPreferencesService,
EcmModelService,
ActivitiContentService
]

View File

@@ -31,7 +31,6 @@ describe('WidgetComponent', () => {
beforeEach(async(() => {
TestBed.configureTestingModule({
imports: [],
declarations: [WidgetComponent],
providers: [
FormService,

View File

@@ -28,7 +28,6 @@ describe('EcmModelService', () => {
beforeEach(() => {
TestBed.configureTestingModule({
imports: [],
providers: [
EcmModelService
]

View File

@@ -57,7 +57,6 @@ describe('Form service', () => {
beforeEach(async(() => {
TestBed.configureTestingModule({
imports: [],
providers: [
EcmModelService,
FormService

View File

@@ -28,7 +28,6 @@ describe('NodeService', () => {
beforeEach(() => {
TestBed.configureTestingModule({
imports: [],
providers: [
NodeService,
EcmModelService

View File

@@ -66,7 +66,6 @@ describe('ProcessContentService', () => {
beforeEach(() => {
TestBed.configureTestingModule({
imports: [],
providers: [
ProcessContentService
]

View File

@@ -37,7 +37,6 @@ describe('WidgetVisibilityService', () => {
beforeEach(() => {
TestBed.configureTestingModule({
imports: [],
providers: [
WidgetVisibilityService
]