move arraybuffer serializer to dedicated subfolder

This commit is contained in:
Julian Descottes
2016-10-16 18:28:12 +02:00
parent 2a7957bce2
commit 73986c4e61
17 changed files with 392 additions and 422 deletions

View File

@@ -22,16 +22,15 @@ describe("History Service suite", function() {
};
var createMockHistoryService = function () {
var mockPiskelController = {
serialize : function () {
return SERIALIZED_PISKEL;
}
};
var mockPiskelController = { getPiskel : function () {} };
var mockShortcutService = {
registerShortcuts : function () {},
registerShortcut : function () {}
};
return new pskl.service.HistoryService(mockPiskelController, mockShortcutService);
return new pskl.service.HistoryService(mockPiskelController, mockShortcutService,
{ deserialize : function () {}},
{ serialize : function () { return SERIALIZED_PISKEL }}
);
};
it("starts at -1", function() {