mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
Issue #287 : Fix unit test mocks
This commit is contained in:
parent
2c75daecb1
commit
8081d5e232
@ -28,6 +28,7 @@ describe("History Service suite", function() {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
var mockShortcutService = {
|
var mockShortcutService = {
|
||||||
|
registerShortcuts : function () {},
|
||||||
registerShortcut : function () {}
|
registerShortcut : function () {}
|
||||||
};
|
};
|
||||||
return new pskl.service.HistoryService(mockPiskelController, mockShortcutService);
|
return new pskl.service.HistoryService(mockPiskelController, mockShortcutService);
|
||||||
|
Loading…
Reference in New Issue
Block a user