Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Get real time console test output (with colors) for mocha in AWS lambda environment

18 views
Skip to first unread message

Hal Armstrong

unread,
May 2, 2019, 11:41:43 PM5/2/19
to Mocha
I've had great success in using mocha / expect.js in the linux console environment.  We are now migrating some applications to AWS lambda.

I saw some "how to" articles on how to stage/deploy npm and user-written library packages to lambda, but it is not clear to me how to get a console window to monitor testing as it happens.

Is there an npm package to emulate the console window?  Is there a tunneling trick?

I was hoping to have a console outputting something like the spec reporter but the node.js, mocha, etc. are all running in AWS lambda.

Something probably exists but maybe I am using the wrong search terms (hope so anyway).  Any tips would be appreciated.

Reply all
Reply to author
Forward
0 new messages