Created
July 3, 2020 01:54
-
-
Save jpulec/2fead91022bbe3719b37b718db063e07 to your computer and use it in GitHub Desktop.
Mock Wrapper
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
import wrapper from "./wrappers/request.js"; | |
const myCoolFunction = (search, cb) => { | |
console.log(`Preparing to search for ${search}`); | |
wrapper(`https://google.com/search/q=${search}`, cb); | |
} | |
export default myCoolFunction; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment