howdyai / botkit-storage-mongo

A MongoDB storage driver for Botkit
MIT License
54 stars 42 forks source link

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

Open nerboda opened 5 years ago

nerboda commented 5 years ago

Specifications

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