mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
committed by
Eugenio Romano
parent
53d96679ea
commit
e39a2b149b
@@ -87,7 +87,7 @@ describe('Breadcrumb', () => {
|
||||
expect(component.parseRoute(null)).toEqual([]);
|
||||
});
|
||||
|
||||
it('should not parase the route when node has no path', () => {
|
||||
it('should not parse the route when node has no path', () => {
|
||||
const node: any = {};
|
||||
expect(component.parseRoute(node)).toEqual([]);
|
||||
});
|
||||
|
@@ -82,7 +82,7 @@ describe('DropdownBreadcrumb', () => {
|
||||
});
|
||||
});
|
||||
|
||||
it('should display only the path in the selectbox', (done) => {
|
||||
it('should display only the path in the selectBox', (done) => {
|
||||
let fakeNodeWithCreatePermissionInstance = JSON.parse(JSON.stringify(fakeNodeWithCreatePermission));
|
||||
fakeNodeWithCreatePermissionInstance.path.elements = [
|
||||
{ id: '1', name: 'Stark Industries' },
|
||||
@@ -169,7 +169,7 @@ describe('DropdownBreadcrumb', () => {
|
||||
});
|
||||
});
|
||||
|
||||
it('should open the selectbox when clicking on the folder icon', (done) => {
|
||||
it('should open the selectBox when clicking on the folder icon', (done) => {
|
||||
triggerComponentChange(JSON.parse(JSON.stringify(fakeNodeWithCreatePermission)));
|
||||
spyOn(component.dropdown, 'open');
|
||||
|
||||
|
Reference in New Issue
Block a user