Skip to content

Commit

Permalink
fix(deps): update a lot of dependencies (#4691)
Browse files Browse the repository at this point in the history
* fix(deps): update a lot of dependencies
* fix(lint): fix lint warnings
* test(vitest): fix 2 integration tests
* test(e2e): fix coverage analysis test
* test(e2e): fix svelte kit e2e
* test(e2e): fix karma-old-version
  • Loading branch information
nicojs authored Jan 28, 2024
1 parent d51d612 commit 5b45fa6
Show file tree
Hide file tree
Showing 32 changed files with 5,766 additions and 4,921 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
/packages/*/reports/**
/packages/*/coverage/**
/packages/grunt-stryker/tasks/**
/packages/karma-runner/src/karma-plugins/stryker-mutant-coverage-adapter.ts

# e2e is linted in the e2e package
/e2e
3,026 changes: 1,027 additions & 1,999 deletions e2e/package-lock.json

Large diffs are not rendered by default.

52 changes: 26 additions & 26 deletions e2e/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,28 +4,28 @@
"private": true,
"type": "module",
"devDependencies": {
"@babel/cli": "7.23.4",
"@babel/core": "7.23.6",
"@babel/cli": "7.23.9",
"@babel/core": "7.23.9",
"@babel/plugin-proposal-class-properties": "7.18.6",
"@babel/plugin-proposal-pipeline-operator": "7.23.3",
"@babel/preset-env": "7.23.6",
"@babel/preset-env": "7.23.9",
"@babel/preset-flow": "7.23.3",
"@cucumber/cucumber": "10.1.0",
"@sveltejs/adapter-auto": "2.1.1",
"@sveltejs/kit": "1.30.3",
"@sveltejs/vite-plugin-svelte": "2.5.3",
"@testing-library/dom": "9.3.3",
"@testing-library/jest-dom": "6.1.6",
"@testing-library/svelte": "4.0.5",
"@cucumber/cucumber": "10.3.1",
"@sveltejs/adapter-auto": "3.1.1",
"@sveltejs/kit": "2.5.0",
"@sveltejs/vite-plugin-svelte": "3.0.2",
"@testing-library/dom": "9.3.4",
"@testing-library/jest-dom": "6.3.0",
"@testing-library/svelte": "4.1.0",
"@tsconfig/svelte": "5.0.2",
"@types/chai-jest-snapshot": "1.3.8",
"@types/node": "20.10.5",
"@types/node": "20.11.9",
"@types/semver": "7.5.6",
"@types/tap": "15.0.11",
"@vitest/browser": "1.1.0",
"@vitest/browser": "1.2.2",
"ajv": "8.12.0",
"axios": "1.6.3",
"chai": "4.3.10",
"axios": "1.6.7",
"chai": "4.4.1",
"chai-as-promised": "7.1.1",
"chai-jest-snapshot": "2.0.0",
"cross-env": "7.0.3",
Expand All @@ -37,7 +37,7 @@
"jest": "29.7.0",
"jest-environment-jsdom": "29.7.0",
"jest-environment-jsdom-sixteen": "1.0.3",
"jsdom": "23.0.1",
"jsdom": "24.0.0",
"karma": "6.4.2",
"karma-chai": "0.1.0",
"karma-chrome-launcher": "3.2.0",
Expand All @@ -47,23 +47,23 @@
"karma-webpack": "5.0.0",
"minimatch": "9.0.3",
"mocha": "10.2.0",
"mutation-testing-metrics": "3.0.0",
"mutation-testing-report-schema": "3.0.0",
"playwright": "1.40.1",
"mutation-testing-metrics": "3.0.2",
"mutation-testing-report-schema": "3.0.2",
"playwright": "1.41.1",
"rxjs": "7.8.1",
"semver": "7.5.4",
"svelte": "4.2.8",
"svelte-check": "3.6.2",
"svelte": "4.2.9",
"svelte-check": "3.6.3",
"svelte-jester": "3.0.0",
"tap": "18.6.1",
"ts-jest": "29.1.1",
"tap": "18.7.0",
"ts-jest": "29.1.2",
"ts-loader": "9.5.1",
"ts-node": "10.9.2",
"tslib": "2.6.2",
"typescript": "5.3.3",
"vite": "4.5.1",
"vitest": "1.1.0",
"webpack": "5.89.0",
"vite": "5.0.12",
"vitest": "1.2.2",
"webpack": "5.90.0",
"webpack-cli": "5.1.4"
},
"scripts": {
Expand All @@ -89,4 +89,4 @@
"@stryker-mutator/typescript-checker": "../packages/typescript-checker",
"@stryker-mutator/vitest-runner": "../packages/vitest-runner"
}
}
}
8 changes: 4 additions & 4 deletions e2e/test/coverage-analysis/verify/verify.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,11 @@ describe('Coverage analysis', () => {

// Vitest only supports perTest coverage analysis
it('should provide expected', async () => {
await actAssertPerTest(12);
await actAssertPerTest();
});
it.only('should provide expected in browser mode', async () => {
it('should provide expected in browser mode', async () => {
strykerOptions.vitest = { configFile: 'vitest.browser.config.js' };
await actAssertPerTest(14);
await actAssertPerTest();
});
});

Expand Down Expand Up @@ -192,7 +192,7 @@ describe('Coverage analysis', () => {
}

/** @param {number} expectedTestCount */
async function actAssertPerTest(expectedTestCount) {
async function actAssertPerTest(expectedTestCount = 10) {
// Arrange
strykerOptions.coverageAnalysis = 'perTest';
const stryker = new Stryker(strykerOptions);
Expand Down
117 changes: 54 additions & 63 deletions e2e/test/karma-old-version/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions e2e/test/karma-old-version/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"posttest": "mocha --no-config --no-package --timeout 0 verify/verify.js"
},
"devDependencies": {
"chai": "4.4.1",
"karma": "6.3.0",
"karma-chai": "0.1.0",
"karma-chrome-launcher": "3.1.0",
Expand Down
2 changes: 1 addition & 1 deletion e2e/test/svelte-kit-vitest/svelte.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import adapter from '@sveltejs/adapter-auto';
import { vitePreprocess } from '@sveltejs/kit/vite';
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';

/** @type {import('@sveltejs/kit').Config} */
const config = {
Expand Down
Loading

0 comments on commit 5b45fa6

Please sign in to comment.