Skip to content

Unable to run tests #79

@c1oneman

Description

@c1oneman

[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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions