Skip to content

Instantly share code, notes, and snippets.

@armohamm
Forked from rafinskipg/tdd-first-test.js
Created February 11, 2020 19:59
Show Gist options
  • Save armohamm/8cca9edd1e48e3011bc6b64b4511bb18 to your computer and use it in GitHub Desktop.
Save armohamm/8cca9edd1e48e3011bc6b64b4511bb18 to your computer and use it in GitHub Desktop.
describe("Calculator", function() {
var calculator;
beforeEach(function() {
calculator = new Calculator();
});
it("should have an add method", function() {
expect(calculator.add).toBeDefined()
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment