Have assertion / test run after all tests have completed #20040
Unanswered
rhysmm
asked this question in
Component Testing
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I would like to have a test run after all other tests have completed. Currently, I'm doing something like this in the support/index.js file:
This does almost exactly what I want. However, if the assertion fails, then the test which was last run fails. Ideally, I'd like to have a "new" test fail when that happens. I've also tried wrapping the assertion in
it
/describe
, e.g:Which also didn't work. Does anybody have any ideas how to achieve this?
Beta Was this translation helpful? Give feedback.
All reactions