Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.