Created
May 5, 2020 15:05
-
-
Save matheusml/e2e680f69d478226a71b8a2db48aa735 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function describe(description, callback) { | |
console.log(description); | |
callback(); | |
} | |
function it(description, callback) { | |
console.log(description); | |
callback(); | |
} | |
function expect(left) { | |
return { | |
toBe(right) { | |
if (left !== right) { | |
console.log(` expected "${left}" to be "${right}"`); | |
} | |
}, | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment