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 ...).
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. :-)
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 theon-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 ...)
.