Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* jshint -W117 */
- describe("Calculator", function () {
- 'use strict';
- it('should return the sum of 2 numbers when I call add', function () {
- var calc = new Calculator();
- expect(calc.add(1, 1)).toBe(2);
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement