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
I am trying to use this package in a package test that uses practicalmeteor:mocha as the test runner. My test is server side only when I am getting the following error:
Error: MongoInternals is not defined
at resetDatabase (packages/xolvio_cleaner/packages/xolvio_cleaner.js:22:1)
at Hook.<anonymous> (packages/local-test:tdb:organizations/tests/methods.js:8:7)
at run (packages/practicalmeteor:mocha-core/server.js:56:16)
I am trying to use this package in a package test that uses
practicalmeteor:mocha
as the test runner. My test is server side only when I am getting the following error:This is my
Package.onTest
:What could be wrong?
UPDATE - 5 minutes later
I could make my test work by not using this package with the following approach:
So I think the problem is not related with the
mongo
dependency because my collection is using it.The text was updated successfully, but these errors were encountered: