Is it possible to get a list of suites/specs without running the actual tests w/ Jest.
For example, I have a test that looks like this:
describe('when blah blah blah', function () {
it('returns foobar', function () { /* test code */ })
})
Ideally, I'd like to be able to just get a list of describe/it statements to quickly look at scenarios covered.
# stdout
when blah blah blah
returns foobar
I think this is possible with rspec, using a dry-run
flag. Is there any such option with Jest?
I took a look at the Jest CLI documentation and have done an issue search at the project's Github page, but could not find anything.
Aucun commentaire:
Enregistrer un commentaire