Skip to content

Commit

Permalink
Assaigning expectedValue = 2
Browse files Browse the repository at this point in the history
  • Loading branch information
yosef604 committed Oct 12, 2020
1 parent 93eb0e0 commit 4f6f188
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions koans/AboutExpects.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ describe("About Expects", function() {

//To understand reality, we must compare our expectations against reality.
it("should expect equality", function () {
var expectedValue = FILL_ME_IN;
var expectedValue = 2;
var actualValue = 1 + 1;

expect(actualValue === expectedValue).toBeTruthy();
});

//Some ways of asserting equality are better than others.
it("should assert equality a better way", function () {
var expectedValue = FILL_ME_IN;
var expectedValue = 2;
var actualValue = 1 + 1;

// toEqual() compares using common sense equality.
Expand Down

0 comments on commit 4f6f188

Please sign in to comment.