Fix test and add missing file

This commit is contained in:
kiswa 2017-08-04 23:52:09 +00:00
parent 92132b3f59
commit 820b2511b1
2 changed files with 4 additions and 1 deletions

View File

@ -9,6 +9,9 @@ export class Task {
public assignees: Array<User>;
public categories: Array<Category>;
public filtered: boolean;
public hideFiltered: boolean;
constructor(public id: number = 0,
public title: string = '',
public description: string = '',

View File

@ -30,7 +30,7 @@ describe('ContextMenu', () => {
done();
});
contextMenu.eventHandler({
contextMenu.parentEventHandler({
pageX: 10, pageY: 10,
preventDefault: () => {},
stopPropagation: () => {}