grunt-mocha-blanket
Version:
Headless Blanket.js code coverage and Mocha testing via PhantomJS
19 lines (14 loc) • 388 B
JavaScript
define([
"src/math/addition"
], function(
Math
){
describe("Addition test", function() {
it("should add five to positive numbers", function() {
expect(Math.addFive(2)).to.equal(7);
});
it("should add seven to positive numbers", function() {
expect(Math.addSeven(2)).to.equal(9);
});
});
});