[ADF-3591] spellcheck support for code (#3827)

* setup spellcheck
This commit is contained in:
Denys Vuika
2018-10-23 15:05:38 +01:00
committed by Eugenio Romano
parent 53d96679ea
commit e39a2b149b
262 changed files with 1561 additions and 1005 deletions

View File

@@ -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([]);
});

View File

@@ -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');