mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
added karma runner + first test
This commit is contained in:
8
test/js/service/HistoryServiceTest.js
Normal file
8
test/js/service/HistoryServiceTest.js
Normal file
@ -0,0 +1,8 @@
|
||||
describe("History Service suite", function() {
|
||||
it("contains spec with an expectation", function() {
|
||||
|
||||
var mockPiskelController = {};
|
||||
var historyService = new pskl.service.HistoryService(mockPiskelController);
|
||||
expect(historyService.currentIndex).toBe(0);
|
||||
});
|
||||
});
|
Reference in New Issue
Block a user