Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make integration tests more enjoyable to use #19025

Merged
merged 14 commits into from
Mar 5, 2024
Merged
Prev Previous commit
Use promesa create instead of interop
  • Loading branch information
ilmotta committed Mar 5, 2024
commit f4781c9c54a519e0df8c75c2b84a629c2150b4d3
2 changes: 1 addition & 1 deletion src/test_helpers/integration.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
(wait-for event-ids default-re-frame-wait-for-timeout-ms))
([event-ids timeout-ms]
(let [waiting-ids (atom event-ids)]
(js/Promise.
(p/create
(fn [promise-resolve promise-reject]
(let [cb-id (gensym "post-event-callback")
timer-id (js/setTimeout (fn []
Expand Down