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