mentioned promise module didn't work for me
leonardodino opened this issue · 2 comments
leonardodino commented
I replaced:
import PromisePonyfill from 'promise'
PromisePonyfill.enableSynchronous()
global.Promise = PromisePonyfill
with:
import { ZalgoPromise } from 'zalgo-promise'
global.Promise = ZalgoPromise
in my CRA setupTests.js
and things started working.
just not for the await
syntax, yet. but .then
works.
threepointone commented
I've update the doc and the examples with the new async api, available in v16.9.0-alpha.0. Have a look and lemme know?
leonardodino commented
😍thanks so much for your work on this Sunil!
I haven't had the time yet to test, I've moved to another project.
But I saw some of the announcements!
I think you can close this issue. (: