Replaced jasmine testing framework by mocha, expect.js and sinon

as discussed in #319
This commit is contained in:
Tobias Bieniek
2013-03-13 04:32:43 +01:00
parent a0b1d74bb5
commit 89ab68cde7
53 changed files with 13096 additions and 5163 deletions

View File

@@ -37,7 +37,7 @@ describe('ol.TileQueue', function() {
addRandomPriorityTiles(tq, 100);
tq.heapify_();
expect(isHeap(tq)).toBeTruthy();
expect(isHeap(tq)).to.be.ok();
});
});
@@ -61,8 +61,8 @@ describe('ol.TileQueue', function() {
};
tq.reprioritize();
expect(tq.heap_.length).toEqual(50);
expect(isHeap(tq)).toBeTruthy();
expect(tq.heap_.length).to.eql(50);
expect(isHeap(tq)).to.be.ok();
});
});