Outputting console.log information on intern-runner -
when running intern-client
can see console.log
output when running tests.
however, when running same tests intern-runner
log results console omitted.
is there way display logs when testing on browser environment through intern-runner
?
if you're running unit tests, can utilize intern's browser client run tests, , have console open in browser. first, start web server in application's root directory (the same place you'd run intern from). access intern's client.html
file how you'd start intern-client
. assuming web server serving on port 8080, you'd utilize url like:
http://localhost:8080/node_modules/intern/client.html?config=tests/intern
intern
No comments:
Post a Comment