You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TypeError: Cannot read property '$handleCallbackError' of undefined
at Query.exec (...\node_modules\mongoose\lib\query.js:4305:25)
at Query.Object.<anonymous>.Query.then (...\node_modules\mongoose\lib\query.js:4367:15)
at then (...\server\handlers\cars\list.js:51:37)
at Object.list (...\server\handlers\cars\list.test.js:40:11)
at Object.asyncJestTest (...\node_modules\jest-jasmine2\build\jasmineAsyncInstall.js:102:37)
at ...\node_modules\jest-jasmine2\build\queueRunner.js:43:12
at new Promise (<anonymous>)
at mapper (...\node_modules\jest-jasmine2\build\queueRunner.js:26:19)
at ...\node_modules\jest-jasmine2\build\queueRunner.js:73:41
at processTicksAndRejections (internal/process/task_queues.js:93:5)
If a remove .chain('limit').withArgs(10) there is no error
Dependencies:
Sample app code
Test code:
Error
If a remove
.chain('limit').withArgs(10)
there is no errorThe text was updated successfully, but these errors were encountered: