Does jest swallow console.log statements?

1,324 views
Skip to first unread message

and...@pareto.com

unread,
Jul 12, 2014, 6:16:59 PM7/12/14
to jes...@googlegroups.com
console.log statements in my code don't seem to show, during the 'require' phase when running jest. Is there something special I need to do here?

office.ni...@gmail.com

unread,
Jul 22, 2014, 8:23:41 AM7/22/14
to jes...@googlegroups.com, and...@pareto.com
You can use the setupTestFrameworkScriptFile [1] option to specify a file in which you set verbose mode for jasmine like so:

jasmine.VERBOSE = true;

[1] http://facebook.github.io/jest/docs/api.html#config-setuptestframeworkscriptfile-string

Reply all
Reply to author
Forward
0 new messages