Jest React useEffect() executed after test : Cannot log after tests are done. Did you forget to wait for something async in your test?
Cannot log after tests are done. Did you forget to wait for something async in your test? useEffect(() => { console.log("client register", uniqueIdFormInput); formAggregatorRef.current.register(uniqueIdFormInput); return () => { console.log('cleanup unregister'); formAggregatorRef.current.unregister(uniqueIdFormInput); }; }, []);...
Recent Comments