Skip to content

TypeError: server.close is not a function #644

@jloveland

Description

@jloveland

I am trying to use with with mocha tests and I am finding that there's no way to close the express server after my tests complete. This causes issues with other tests that try to bind to the same port and fail because jsonServer is still running.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions