Skip to content

Commit

Permalink
updated mock to fix tests (#441)
Browse files Browse the repository at this point in the history
  • Loading branch information
Anthony Dresser authored Dec 1, 2016
1 parent 63dce3d commit d6d17d6
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/views/htmlcontent/test/app.component.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ class MockShortcutService {
template: ''
})
class MockSlickGrid {

@Input() columnDefinitions: IColumnDefinition[];
@Input() dataRows: IObservableCollection<IGridDataRow>;
@Input() resized: Observable<any>;
Expand All @@ -140,10 +141,12 @@ class MockSlickGrid {
@Input() contextColumns: string[] = [];
@Input() columnsLoading: string[] = [];
@Input() overrideCellFn: (rowNumber, columnId, value?, data?) => string;
@Input() showHeader: boolean = false;
@Input() showHeader: boolean = true;
@Input() showDataTypeIcon: boolean = true;
@Input() enableColumnReorder: boolean = false;
@Input() enableAsyncPostRender: boolean = true;
@Input() enableAsyncPostRender: boolean = false;
@Input() selectionModel: string = '';
@Input() plugins: string[] = [];

@Output() loadFinished: EventEmitter<void> = new EventEmitter<void>();
@Output() cellChanged: EventEmitter<{column: string, row: number, newValue: any}> = new EventEmitter<{column: string, row: number, newValue: any}>();
Expand Down

0 comments on commit d6d17d6

Please sign in to comment.