howdyai/botkit-storage-mongo

Test suite fails in Initialization 'should initialize monk with mongoUri'

nerboda opened this issue · 0 comments

Specifications

  • Version: 1.0.7
  • MacOS High Sierra 10.13.6
  • Node Version: 11.4.0

Expected Behavior

Expected the test suite to pass

Actual Behavior

It fails on the 'should initialize monk with mongoUri' test on line 42. All subsequent tests also fail. Basically, the monkMock function isn't being called.

If I comment out line 43 and then manually call monkMock(config), the assertion on line 44 passes, but line 45 still fails it.

Steps to Reproduce

I haven't touched anything. Simply forked the project, installed the dependencies and ran $ npm run test.

Screenshots, GIFs, Error Output

screen shot 2019-02-19 at 1 02 40 pm