cemerick / clojurescript.test

A maximal port of `clojure.test` to ClojureScript. DEPRECATED
165 stars 32 forks source link

on-testing-complete happens before last :end-test-var #87

Closed loganlinn closed 9 years ago

loganlinn commented 9 years ago

Ran into some unexpected behavior when making an adapter for Karma test runner. I'm using :end-test-var to know when a function test has completed and the on-testing-complete callback to let Karma know we're done. With async tests, I'm seeing the complete callback being invoked before the final :end-test-var is reported. It seems like it would be fixed if these two expressions were transposed or at least update the (swap! async-test-env ...) before (do-report ...).

cemerick commented 9 years ago

Sorry for the troubles, but I've deprecated this project. Please see the notice at the top of the repo's README. This is a good thing, fundamentally. :-)