Skip to content

Commit

Permalink
tslint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lkramarov committed Feb 28, 2019
1 parent b26018c commit 1c5a5f8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/lib/tree-select/tree-select.component.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2298,7 +2298,7 @@ describe('McTreeSelect', () => {
}));

xit('should select an option that was added after initialization', fakeAsync(() => {
fixture.componentInstance.dataSource.data.push({ name: 'Potatoes', type: 'app' });
// fixture.componentInstance.dataSource.data.push({ name: 'Potatoes', type: 'app' });
trigger.click();
fixture.detectChanges();
flush();
Expand All @@ -2322,7 +2322,7 @@ describe('McTreeSelect', () => {
expect(trigger.querySelector('.mc-select__matcher-text')!.textContent!.trim())
.toBe('Pizza');

fixture.componentInstance.foods[1].viewValue = 'Calzone';
fixture.componentInstance.dataSource.data[1].name = 'Calzone';
fixture.detectChanges();
flush();

Expand Down Expand Up @@ -4516,7 +4516,7 @@ describe('McTreeSelect', () => {
.toBe(true,
'Expected `multiple` to have been added to initial set of options.');

testInstance.dataSource.data.push({ name: 'cake-8', type: 'app' });
// testInstance.dataSource.data.push({ name: 'cake-8', type: 'app' });
fixture.detectChanges();

expect(testInstance.options.toArray().every((option) => !!option.multiple)).toBe(true,
Expand Down

0 comments on commit 1c5a5f8

Please sign in to comment.