These are chat archives for rosshinkley/nightmare

2nd
Feb 2017
johnferro
@johnferro
Feb 02 2017 17:53
@ripper234 This looks like a mocha issue rather than a nightmare issue. Since you are including the done callback I believe that you need to call that with the error rather than just throwing it, like done(new Error('Fail')). See https://mochajs.org/#asynchronous-code. Although take with a grain of salt since I do not have too much familiarity with mocha