Browse Source

fix: lint errors

pull/2175/head
mehmet-erim 7 years ago
parent
commit
730a4cb910
  1. 2
      npm/ng-packs/apps/dev-app/src/app/home/home.component.ts
  2. 2
      npm/ng-packs/packages/core/src/lib/tests/debounce.directive.spec.ts
  3. 4
      npm/ng-packs/packages/core/src/lib/tests/stop-propagation.directive.spec.ts

2
npm/ng-packs/apps/dev-app/src/app/home/home.component.ts

@ -2,7 +2,7 @@ import { Component } from '@angular/core';
import { OAuthService } from 'angular-oauth2-oidc'; import { OAuthService } from 'angular-oauth2-oidc';
@Component({ @Component({
selector: 'abp-home', selector: 'app-home',
templateUrl: './home.component.html', templateUrl: './home.component.html',
}) })
export class HomeComponent { export class HomeComponent {

2
npm/ng-packs/packages/core/src/lib/tests/debounce.directive.spec.ts

@ -6,7 +6,7 @@ describe('InputEventDebounceDirective', () => {
let spectator: SpectatorDirective<InputEventDebounceDirective>; let spectator: SpectatorDirective<InputEventDebounceDirective>;
let directive: InputEventDebounceDirective; let directive: InputEventDebounceDirective;
let input: HTMLInputElement; let input: HTMLInputElement;
let inputEventFn = jest.fn(() => {}); const inputEventFn = jest.fn(() => {});
const createDirective = createDirectiveFactory({ const createDirective = createDirectiveFactory({
directive: InputEventDebounceDirective, directive: InputEventDebounceDirective,

4
npm/ng-packs/packages/core/src/lib/tests/stop-propagation.directive.spec.ts

@ -5,8 +5,8 @@ describe('ClickEventStopPropagationDirective', () => {
let spectator: SpectatorDirective<ClickEventStopPropagationDirective>; let spectator: SpectatorDirective<ClickEventStopPropagationDirective>;
let directive: ClickEventStopPropagationDirective; let directive: ClickEventStopPropagationDirective;
let link: HTMLAnchorElement; let link: HTMLAnchorElement;
let childClickEventFn = jest.fn(() => null); const childClickEventFn = jest.fn(() => null);
let parentClickEventFn = jest.fn(() => null); const parentClickEventFn = jest.fn(() => null);
const createDirective = createDirectiveFactory({ const createDirective = createDirectiveFactory({
directive: ClickEventStopPropagationDirective, directive: ClickEventStopPropagationDirective,
}); });

Loading…
Cancel
Save