jest-circus allows nested test
calls, but only when the test
is not enclosed
in describe
.
yarn repro1
jest-circus warns me that there are nested test
calls.
The tests are run
If there are nested test
calls, and they are inside a describe
call,
jest-circus warns about the error but with a confusing error message.
yarn repro2
An informative error message. The default runner gives me: Tests cannot be nested. Test `inner test` cannot run because it is nested within `outer test`.
I get the error message Status should be present after tests are run.