tape-testing/testling

TypeError: 'tap' is not a constructor (Trying to use Mocha with Testling)

nelsonic opened this issue · 5 comments

Hi James,

While following the Testling Guide for Mocha: https://ci.testling.com/guide/mocha I attempted to verify my configuration locally using testling CLI and got the error:

not ok 1 Error: TypeError: 'tap' is not a constructor (evaluating 'new Reporter(runner)') on line 4129

Running npm test works fine.

learn-testling-error

Code: https://github.com/nelsonic/learn-testling

Any insight would be much appreciated.
Thanks.

@nelsonic ever figure this out? I am hitting the same problem

@tjmehta sadly, no reply from @substack or @browserling yet. :-(
I'd really love to use Testling with Mocha and Lab.
So if you do manage to get it working, please notify me so I can come back to it.
Thanks! :-)

@nelsonic I was able to run the tests using testling -u which sets up a static server serving your test scripts. The command returns a url which you can navigate to with the browser you'd like to run your tests within.

@tjmehta I want a solution that will work with https://ci.testling.com does testling -u work?

The service is long dead, unfortunately.

Please file a new issue if you're still having trouble.