Skip to content

Passing a notify flag complains that jest doesn't exit after the test run has completed #8036

@natealcedo

Description

@natealcedo

💥 Regression Report

I'm not sure which last version this feature was working in but I've recreated a simple repo just to show that this feature isn't working as intended.

Last working version

I don't know which version this feature was working correctly.

Stopped working in version:

Currently running on jest 24.1

To Reproduce

Steps to reproduce the behavior:

Run any test suite with --notify flag

Here's a screenshot
image

Expected behavior

The test suite should exit cleanly.

Link to repl or repo (highly encouraged)

https://github.com/natealcedo/notify/

Run npx envinfo --preset jest

Paste the results here:

  System:
    OS: macOS 10.14.3
    CPU: (12) x64 Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
  Binaries:
    Node: 8.15.0 - ~/.nvm/versions/node/v8.15.0/bin/node
    Yarn: 1.13.0 - ~/.nvm/versions/node/v8.15.0/bin/yarn
    npm: 6.4.1 - ~/.nvm/versions/node/v8.15.0/bin/npm
  npmPackages:
    jest: ^24.1.0 => 24.1.0

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