We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b9d5335 commit afd41eaCopy full SHA for afd41ea
1-js/04-object-basics/04-object-methods/7-calculator/_js.view/test.js
@@ -15,6 +15,11 @@ describe("calculator", function() {
15
afterEach(function() {
16
prompt.restore();
17
});
18
+
19
+ it('the read get two values and saves them as object properties', function () {
20
+ assert.equal(calculator.a, 2);
21
+ assert.equal(calculator.b, 3);
22
+ });
23
24
it("the sum is 5", function() {
25
assert.equal(calculator.sum(), 5);
0 commit comments