[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

@@ -128,11 +128,11 @@ describe('LogoutDirective', () => {
});
describe('enabelRedirect', () => {
describe('enableRedirect', () => {
@Component({
selector: 'adf-test-component',
template: '<button adf-logout [enabelRedirect]="false"></button>'
template: '<button adf-logout [enableRedirect]="false"></button>'
})
class TestComponent {
@ContentChildren(LogoutDirective)
@@ -160,7 +160,7 @@ describe('LogoutDirective', () => {
fixture.detectChanges();
});
it('should not redirect if enabelRedirect is false', () => {
it('should not redirect if enableRedirect is false', () => {
spyOn(router, 'navigate');
spyOn(authService, 'logout').and.returnValue(of(true));
const button = fixture.nativeElement.querySelector('button');