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): support more config file formats #3761

Merged
merged 12 commits into from Oct 29, 2022
1,450 changes: 772 additions & 678 deletions e2e/package-lock.json

Large diffs are not rendered by default.

7 changes: 3 additions & 4 deletions e2e/test/incremental/verify/verify.js
Expand Up @@ -4,13 +4,12 @@ import { fileURLToPath } from 'url';

import { Stryker } from '@stryker-mutator/core';
import { expect } from 'chai';

import '../../../helpers.js';

import { PlanKind } from '@stryker-mutator/api/core';

import { MutationRunPlanReporter } from './mutation-run-plan-reporter.js';

import '../../../helpers.js';

const incrementalFile = new URL('../reports/stryker-incremental.json', import.meta.url);

describe('incremental', () => {
Expand Down Expand Up @@ -51,7 +50,7 @@ describe('incremental', () => {
*/
const tests = [
['cucumber', reuseCountExpectation.withFullTestResults],
['jest', reuseCountExpectation.withFullTestResults, { testRunnerNodeArgs: ['--experimental-vm-modules'] }],
['jest', reuseCountExpectation.withFullTestResults, { testRunnerNodeArgs: ['--experimental-vm-modules'], tempDirName: 'stryker-tmp' }],

['mocha', reuseCountExpectation.withoutTestLocations],

Expand Down