Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove jest deprecated options #4736

Open
nicojs opened this issue Feb 16, 2024 · 0 comments
Open

Remove jest deprecated options #4736

nicojs opened this issue Feb 16, 2024 · 0 comments
Labels
🐛 Bug Something isn't working

Comments

@nicojs
Copy link
Member

nicojs commented Feb 16, 2024

Summary

The jest runner provides a lot of options that are deprecated. Probably good to update those.

        ● Validation Warning:

          Unknown option "verbose" with value false was found.
          This is probably a typing mistake. Fixing it will remove this message.

          Configuration Documentation:
          https://jestjs.io/docs/configuration

        ● Validation Warning:

          Unknown option "notify" with value false was found.
          This is probably a typing mistake. Fixing it will remove this message.

          Configuration Documentation:
          https://jestjs.io/docs/configuration

        ● Validation Warning:

          Unknown option "bail" with value false was found.
          This is probably a typing mistake. Fixing it will remove this message.

          Configuration Documentation:
          https://jestjs.io/docs/configuration

        ● Validation Warning:

          Unknown option "reporters" with value [] was found.
          This is probably a typing mistake. Fixing it will remove this message.

          Configuration Documentation:
          https://jestjs.io/docs/configuration

        ● Validation Warning:

          Unknown option "collectCoverage" with value false was found.
          This is probably a typing mistake. Fixing it will remove this message.

          Configuration Documentation:
          https://jestjs.io/docs/configuration

        ● Validation Warning:

          Unknown option "verbose" with value false was found.
          This is probably a typing mistake. Fixing it will remove this message.

          Configuration Documentation:
          https://jestjs.io/docs/configuration

        ● Validation Warning:

          Unknown option "notify" with value false was found.
          This is probably a typing mistake. Fixing it will remove this message.

          Configuration Documentation:
          https://jestjs.io/docs/configuration

        ● Validation Warning:

          Unknown option "bail" with value false was found.
          This is probably a typing mistake. Fixing it will remove this message.

          Configuration Documentation:
          https://jestjs.io/docs/configuration

        ● Validation Warning:

          Unknown option "reporters" with value [] was found.
          This is probably a typing mistake. Fixing it will remove this message.

          Configuration Documentation:
          https://jestjs.io/docs/configuration

         ChildProcessCrashedError: Child process [pid 15047] exited unexpectedly with exit code null (SIGKILL). Last part of stdout and stderr was:
        ● Validation Warning:

          Unknown option "verbose" with value false was found.
          This is probably a typing mistake. Fixing it will remove this message.

          Configuration Documentation:
          https://jestjs.io/docs/configuration

        ● Validation Warning:

          Unknown option "notify" with value false was found.
          This is probably a typing mistake. Fixing it will remove this message.

          Configuration Documentation:
          https://jestjs.io/docs/configuration

        ● Validation Warning:

          Unknown option "bail" with value false was found.
          This is probably a typing mistake. Fixing it will remove this message.

          Configuration Documentation:
          https://jestjs.io/docs/configuration

        ● Validation Warning:

          Unknown option "reporters" with value [] was found.
          This is probably a typing mistake. Fixing it will remove this message.

          Configuration Documentation:
          https://jestjs.io/docs/configuration

        ● Validation Warning:

          Unknown option "collectCoverage" with value false was found.
          This is probably a typing mistake. Fixing it will remove this message.

          Configuration Documentation:
          https://jestjs.io/docs/configuration

        ● Validation Warning:

          Unknown option "verbose" with value false was found.
          This is probably a typing mistake. Fixing it will remove this message.

          Configuration Documentation:
          https://jestjs.io/docs/configuration

        ● Validation Warning:

          Unknown option "notify" with value false was found.
          This is probably a typing mistake. Fixing it will remove this message.

          Configuration Documentation:
          https://jestjs.io/docs/configuration

        ● Validation Warning:

          Unknown option "bail" with value false was found.
          This is probably a typing mistake. Fixing it will remove this message.

          Configuration Documentation:
          https://jestjs.io/docs/configuration

        ● Validation Warning:

          Unknown option "reporters" with value [] was found.
          This is probably a typing mistake. Fixing it will remove this message.

          Configuration Documentation:
          https://jestjs.io/docs/configuration

Stryker config

{
  "$schema": "./node_modules/@stryker-mutator/core/schema/stryker-schema.json",
  "testRunner": "jest",
  "testRunnerNodeArgs": ["--experimental-vm-modules"],
  "reporters": ["progress", "clear-text", "html"],
  "concurrency": 8
}

Test runner config

Stryker environment

+-- @stryker-mutator/core@x.x.x
+-- @stryker-mutator/xxx-xxx@x.x.x
+-- mocha@x.x.x
+-- jest@x.x.x
+-- karma@x.x.x
+-- angular-cli@x.x.x
+-- react-scripts@x.x.x

Test runner environment

# Test command

Your Environment

software version(s)
node
npm
Operating System

Add stryker.log

@nicojs nicojs added the 🐛 Bug Something isn't working label Feb 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant