You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
runeh
changed the title
est-circus issues confusing error message if attempting to nest test calls
jest-circus issues confusing error message if attempting to nest test calls
Apr 16, 2020
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.
🐛 Bug Report
jest-circus issues confusing error message if attempting to nest
test
calls.Note, this only triggers when the tests are nested within a
describe
. See #9824To Reproduce
Nest one
test()
inside of another. The tests must be enclosed in adescribe
See https://github.com/runeh/jest-circus-nested-it-repro/blob/master/index.testcase2.test.js
Expected behavior
Tests should not run, and a warning about illegal nesting should be shown.
The actual warning is
Status should be present after tests are run.
Link to repl or repo (highly encouraged)
https://github.com/runeh/jest-circus-nested-it-repro
envinfo
The text was updated successfully, but these errors were encountered: