-
Notifications
You must be signed in to change notification settings - Fork 946
Open
Description
[email protected] test-routes
npm run test -t router
[email protected] test
cross-env NODE_ENV=testing jest --forceExit --detectOpenHandles --silent "router"
RUNS src/resources/item/tests/item.router.spec.js
node:internal/process/promises:246
triggerUncaughtException(err, true /* fromPromise */);
^
[UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "TypeError: Cannot read properties of undefined (reading 'dropDatabase')".] {
code: 'ERR_UNHANDLED_REJECTION'
}
Metadata
Metadata
Assignees
Labels
No labels