mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-05-12 17:04:46 +00:00
fix unit test
This commit is contained in:
parent
b65011ebbd
commit
97a7831726
@ -35,9 +35,13 @@ module.exports = function(config) {
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
proxies: {
|
proxies: {
|
||||||
|
'/assets/adf-core/i18n/en-GB.json':
|
||||||
|
'/base/node_modules/@alfresco/adf-core/bundles/assets/adf-core/i18n/en.json',
|
||||||
'/assets/adf-core/i18n/en.json':
|
'/assets/adf-core/i18n/en.json':
|
||||||
'/base/node_modules/@alfresco/adf-core/bundles/assets/adf-core/i18n/en.json',
|
'/base/node_modules/@alfresco/adf-core/bundles/assets/adf-core/i18n/en.json',
|
||||||
'/assets/adf-content-services/i18n/en.json':
|
'/assets/adf-content-services/i18n/en.json':
|
||||||
|
'/base/node_modules/@alfresco/adf-content-services/bundles/assets/adf-content-services/i18n/en.json',
|
||||||
|
'/assets/adf-content-services/i18n/en-GB.json':
|
||||||
'/base/node_modules/@alfresco/adf-content-services/bundles/assets/adf-content-services/i18n/en.json'
|
'/base/node_modules/@alfresco/adf-content-services/bundles/assets/adf-content-services/i18n/en.json'
|
||||||
},
|
},
|
||||||
client: {
|
client: {
|
||||||
|
@ -19,7 +19,6 @@
|
|||||||
[display]="documentDisplayMode$ | async"
|
[display]="documentDisplayMode$ | async"
|
||||||
[node]="list"
|
[node]="list"
|
||||||
[loading]="isLoading"
|
[loading]="isLoading"
|
||||||
[loading]="dataIsLoading"
|
|
||||||
selectionMode="single"
|
selectionMode="single"
|
||||||
[navigate]="false"
|
[navigate]="false"
|
||||||
[sorting]="['title', 'asc']"
|
[sorting]="['title', 'asc']"
|
||||||
|
@ -141,6 +141,8 @@ describe('FilesComponent', () => {
|
|||||||
spyOn(component, 'reload');
|
spyOn(component, 'reload');
|
||||||
|
|
||||||
fixture.detectChanges();
|
fixture.detectChanges();
|
||||||
|
|
||||||
|
spyOn(component.documentList, 'loadFolder').and.callFake(() => {});
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should call refresh onContentCopied event if parent is the same', () => {
|
it('should call refresh onContentCopied event if parent is the same', () => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user