mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
[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:
committed by
Denys Vuika
parent
21b8cd30ce
commit
9e2969b955
@@ -29,7 +29,6 @@ describe('Rating component', () => {
|
||||
|
||||
beforeEach(async(() => {
|
||||
TestBed.configureTestingModule({
|
||||
|
||||
declarations: [
|
||||
RatingComponent
|
||||
],
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { AlfrescoApiService, AppConfigService, StorageService } from '@alfresco/adf-core';
|
||||
import { AlfrescoApiServiceMock, AppConfigService, StorageService } from '@alfresco/adf-core';
|
||||
import { RatingService } from './rating.service';
|
||||
|
||||
declare let jasmine: any;
|
||||
@@ -25,7 +25,7 @@ describe('Rating service', () => {
|
||||
let service;
|
||||
|
||||
beforeEach(() => {
|
||||
service = new RatingService(new AlfrescoApiService(new AppConfigService(null), new StorageService()));
|
||||
service = new RatingService(new AlfrescoApiServiceMock(new AppConfigService(null), new StorageService()));
|
||||
});
|
||||
|
||||
beforeEach(() => {
|
||||
|
||||
Reference in New Issue
Block a user