Created
September 20, 2019 01:26
-
-
Save VikramTiwari/2d11b26ea92a57ece53402a8892d50fa to your computer and use it in GitHub Desktop.
testMe.js
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
function testMe() { | |
try { | |
// whatever | |
return true | |
} catch (err) { | |
console.log(err) | |
return false | |
} | |
} | |
// `testMe` function is in a blackbox (i.e. you can't edit the function) | |
// write a test case which covers line 7 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment