Created
March 4, 2017 21:20
-
-
Save palmerj3/822ebd2f05052c657de673198386de0c to your computer and use it in GitHub Desktop.
Enable async/await in Jest with custom transform. Create a setupFile with this.
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
require('babel-polyfill'); | |
global.regeneratorRuntime = regeneratorRuntime; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment