Created
September 22, 2021 08:13
-
-
Save sabesansathananthan/bcd848ec8c5060c95c02d409489bd7d8 to your computer and use it in GitHub Desktop.
mock network request in Jest
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
import { run } from "../../src"; | |
export default async () => { | |
await run(); | |
}; |
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
import { close } from "../../src"; | |
export default async function () { | |
await close(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment