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

fix(jest-runner): Support multi project jest-configs #2780

Closed

Commits on Mar 5, 2021

  1. fix(jest-runner): pass config by path if configPath provided

    This mimics behaviour of jest - if you want to use projects,
    you need to pass the config by file. This teaches stryker to do
    the same - if you set explicit config path in jest config,
    that gets passed into jest and voila, multi project jest works :)
    
    https://github.com/swist/stryker-test is the minimum reproducible
    example repo for this
    swist committed Mar 5, 2021
    Configuration menu
    Copy the full SHA
    455e170 View commit details
    Browse the repository at this point in the history

Commits on Mar 7, 2021

  1. fat(jest-runner): pass stryker mutated config via filesystem

    Turns out that we can also make projects play nice with stryker-modified jest configs. There are two requirements however - they need to have rootDir set in jest CLI args and we need to make sure that the filename ends in .json so that require doesn't trip over
    swist committed Mar 7, 2021
    Configuration menu
    Copy the full SHA
    2828fcb View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2021

  1. Configuration menu
    Copy the full SHA
    29a6063 View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2021

  1. Configuration menu
    Copy the full SHA
    e2d480f View commit details
    Browse the repository at this point in the history