Skip to content

Add a findAndRemoveById to mongo #79

@danielstreit

Description

@danielstreit

To facilitate testing we could add a function to mongo.js to find and remove a collection using mongoose findAndRemoveById. This could be used to cleanup after testing.

I don't think this should be exposed via the API though, but could be used by requiring mongo.js into the test file.

Thoughts?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions