Closed
Description
Description/Steps to reproduce
I wrote a loopback component and all my tests are working with memory db.
However, when I change datasource to mongodb, I do not see the context data in operation hook.
- clone the repo below.
- npm test
- git checkout test-mongo
- npm test
Link to reproduction sandbox
https://github.com/pbalan/component-reproduce-error.git
Master Branch: runs with memory connector. TEST PASS
test-mongo Branch: runs with mongodb connector. TEST FAIL
Expected result
TEST PASS
Additional information
node -e 'console.log(process.platform, process.arch, process.versions.node)': darwin x64 8.9.4
npm ls --prod --depth 0 | grep loopback [email protected]