Skip to content

jest.retryTimes() with jest-circus does not retry failed tests. #6727

@laat

Description

@laat

🐛 Bug Report

jest.retryTimes() does not retry.

To Reproduce

Follow the documented steps

Expected behavior

It should retry n times when jest.retryTimes(n) is set.

Link to repl or repo (highly encouraged)

Minimal Example Repo

Run npx envinfo --preset jest

Paste the results here:

  System:
    OS: macOS High Sierra 10.13.6
    CPU: x64 Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz
  Binaries:
    Node: 8.11.1 - ~/.nvm/versions/node/v8.11.1/bin/node
    Yarn: 1.7.0 - /usr/local/bin/yarn
    npm: 5.6.0 - ~/.nvm/versions/node/v8.11.1/bin/npm
  npmPackages:
    jest: ^23.4.1 => 23.4.1

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