node-apex icon indicating copy to clipboard operation
node-apex copied to clipboard

Unit test?

Open daniel-cottone opened this issue 7 years ago • 1 comments

How can I unit test modules using this wrapper? For example I am trying to test this with mocha and I keep getting:

TypeError: ctx.fail is not a function
      at node_modules/apex.js/index.js:15:11
      at Context.<anonymous> (.tmp/mocha-webpack/b2445ac84435dc5890ee678f8f0a5f8d/b2445ac84435dc5890ee678f8f0a5f8d-output.js:97:24)

daniel-cottone avatar Apr 03 '17 18:04 daniel-cottone

Did you happen to solve this? I'm getting this now...

leggsimon avatar May 02 '18 11:05 leggsimon