Created
April 28, 2018 12:29
-
-
Save lmiller1990/fe670bae628ef73012fd40e372689156 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
const matchers = (exp) => ({ | |
toBe: (assertion) => { | |
if (exp === assertion) { | |
console.log('pass') | |
return true | |
} else { | |
console.log('fail') | |
return false | |
} | |
} | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment