Skip to content

Commit

Permalink
cbp-toggle-button change detection OnPush
Browse files Browse the repository at this point in the history
  • Loading branch information
yogeshgadge committed Mar 27, 2018
1 parent 743b0cf commit 2eaff58
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {ChangeDetectionStrategy, Component, EventEmitter, Input, OnInit, Output} from '@angular/core';
import {ChangeDetectionStrategy, Component, EventEmitter, Input, Output} from '@angular/core';

let toggleSwitchCounter = 1;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@ import {NoopAnimationsModule} from '@angular/platform-browser/animations';
import {BrowserModule} from '@angular/platform-browser';
import {DemoButtonsComponent} from './demo-buttons.component';
import {CBPButtonsModule} from '../../../app/buttons/buttons.module';
import {FormsModule} from '@angular/forms';

describe('DemoButtonsComponent', () => {
beforeEach(async(() => {
TestBed.configureTestingModule({
imports: [BrowserModule, NoopAnimationsModule, CBPButtonsModule],
imports: [BrowserModule, NoopAnimationsModule, CBPButtonsModule, FormsModule],
declarations: [
DemoButtonsComponent]
}).compileComponents();
Expand Down

0 comments on commit 2eaff58

Please sign in to comment.