I'm working mocha and chai unit test. It's working fine, but if I add mongoose to test file as below:
let mongoose = require('mongoose')
I'm getting error.
Is anyone can help me? Thanks.
I'm working mocha and chai unit test. It's working fine, but if I add mongoose to test file as below:
let mongoose = require('mongoose')
I'm getting error.
Is anyone can help me? Thanks.