mongodb-memory-server-core
    Preparing search index...

    Function killProcess

    • Kill an ChildProcess

      Parameters

      • childprocess: ChildProcess

        The Process to kill

      • name: string

        the name used in the logs

      • OptionalmongodPort: number

        the port for the mongod process (for easier logging)

      Returns Promise<void>