mirror of
https://github.com/portainer/portainer.git
synced 2025-08-10 08:15:25 +02:00
feat(ci): replace jest with vitest [EE-6504] (#10997)
Some checks are pending
ci / build_images (map[arch:amd64 platform:linux]) (push) Waiting to run
ci / build_images (map[arch:amd64 platform:windows version:1809]) (push) Waiting to run
ci / build_images (map[arch:amd64 platform:windows version:ltsc2022]) (push) Waiting to run
ci / build_images (map[arch:arm64 platform:linux]) (push) Waiting to run
ci / build_manifests (push) Blocked by required conditions
/ triage (push) Waiting to run
Lint / Run linters (push) Waiting to run
Test / test-client (push) Waiting to run
Test / test-server (map[arch:amd64 platform:linux]) (push) Waiting to run
Test / test-server (map[arch:amd64 platform:windows version:1809]) (push) Waiting to run
Test / test-server (map[arch:amd64 platform:windows version:ltsc2022]) (push) Waiting to run
Test / test-server (map[arch:arm64 platform:linux]) (push) Waiting to run
Some checks are pending
ci / build_images (map[arch:amd64 platform:linux]) (push) Waiting to run
ci / build_images (map[arch:amd64 platform:windows version:1809]) (push) Waiting to run
ci / build_images (map[arch:amd64 platform:windows version:ltsc2022]) (push) Waiting to run
ci / build_images (map[arch:arm64 platform:linux]) (push) Waiting to run
ci / build_manifests (push) Blocked by required conditions
/ triage (push) Waiting to run
Lint / Run linters (push) Waiting to run
Test / test-client (push) Waiting to run
Test / test-server (map[arch:amd64 platform:linux]) (push) Waiting to run
Test / test-server (map[arch:amd64 platform:windows version:1809]) (push) Waiting to run
Test / test-server (map[arch:amd64 platform:windows version:ltsc2022]) (push) Waiting to run
Test / test-server (map[arch:arm64 platform:linux]) (push) Waiting to run
This commit is contained in:
parent
4a19871fcc
commit
69c06bc756
34 changed files with 1137 additions and 1680 deletions
18
package.json
18
package.json
|
@ -22,7 +22,7 @@
|
|||
"build": "webpack",
|
||||
"format": "prettier --log-level warn --write \"**/*.{js,css,html,jsx,tsx,ts,json}\"",
|
||||
"lint": "eslint --cache --fix './**/*.{js,jsx,ts,tsx}'",
|
||||
"test": "jest",
|
||||
"test": "vitest",
|
||||
"sb": "yarn storybook",
|
||||
"storybook": "storybook dev -p 6006",
|
||||
"storybook:build": "storybook build -o ./dist/storybook",
|
||||
|
@ -79,6 +79,7 @@
|
|||
"babel-plugin-angularjs-annotate": "^0.10.0",
|
||||
"bootstrap": "^3.4.0",
|
||||
"buffer": "^6.0.3",
|
||||
"c8": "^9.1.0",
|
||||
"chardet": "^1.4.0",
|
||||
"chart.js": "^2.7.0",
|
||||
"clsx": "^1.1.1",
|
||||
|
@ -97,6 +98,7 @@
|
|||
"jquery": "^3.6.0",
|
||||
"js-base64": "^3.7.2",
|
||||
"js-yaml": "^3.14.0",
|
||||
"jsdom": "^24.0.0",
|
||||
"lodash": "^4.17.21",
|
||||
"lucide-react": "^0.101.0",
|
||||
"moment": "^2.29.1",
|
||||
|
@ -139,13 +141,12 @@
|
|||
"@storybook/react": "^7.0.18",
|
||||
"@storybook/react-webpack5": "^7.0.18",
|
||||
"@svgr/webpack": "^8.1.0",
|
||||
"@testing-library/jest-dom": "^5.16.1",
|
||||
"@testing-library/react": "^12.1.2",
|
||||
"@testing-library/dom": "^9.3.4",
|
||||
"@testing-library/react": "^12",
|
||||
"@testing-library/user-event": "^13.5.0",
|
||||
"@types/angular": "^1.8.3",
|
||||
"@types/file-saver": "^2.0.4",
|
||||
"@types/filesize-parser": "^1.5.1",
|
||||
"@types/jest": "^27.0.3",
|
||||
"@types/jquery": "^3.5.10",
|
||||
"@types/mustache": "^4.1.2",
|
||||
"@types/nprogress": "^0.2.0",
|
||||
|
@ -160,7 +161,6 @@
|
|||
"@typescript-eslint/parser": "^6.7.4",
|
||||
"auto-ngtemplate-loader": "^3.1.2",
|
||||
"autoprefixer": "^10.4.16",
|
||||
"babel-jest": "^29.5.0",
|
||||
"babel-loader": "^9.1.3",
|
||||
"babel-plugin-i18next-extract": "^0.9.0",
|
||||
"babel-plugin-lodash": "^3.3.4",
|
||||
|
@ -176,17 +176,16 @@
|
|||
"eslint-import-resolver-alias": "^1.1.2",
|
||||
"eslint-plugin-eslint-comments": "^3.2.0",
|
||||
"eslint-plugin-import": "^2.28.1",
|
||||
"eslint-plugin-jest": "^27.4.2",
|
||||
"eslint-plugin-jsx-a11y": "^6.7.1",
|
||||
"eslint-plugin-promise": "^6.1.1",
|
||||
"eslint-plugin-react": "^7.33.2",
|
||||
"eslint-plugin-react-hooks": "^4.6.0",
|
||||
"eslint-plugin-regex": "^1.10.0",
|
||||
"eslint-plugin-storybook": "^0.6.14",
|
||||
"eslint-plugin-vitest": "^0.3.20",
|
||||
"html-loader": "^0.5.5",
|
||||
"html-webpack-plugin": "^5.5.3",
|
||||
"husky": "^8.0.0",
|
||||
"jest": "^27.4.3",
|
||||
"kubernetes-types": "^1.26.0",
|
||||
"lint-staged": "^14.0.1",
|
||||
"lodash-webpack-plugin": "^0.11.6",
|
||||
|
@ -199,7 +198,6 @@
|
|||
"prettier": "^3.0.3",
|
||||
"prettier-plugin-tailwindcss": "^0.5.4",
|
||||
"react-docgen-typescript-plugin": "^1.0.5",
|
||||
"react-test-renderer": "^17.0.2",
|
||||
"source-map-loader": "^4.0.1",
|
||||
"speed-measure-webpack-plugin": "^1.5.0",
|
||||
"storybook": "^7.0.18",
|
||||
|
@ -210,6 +208,10 @@
|
|||
"tsconfig-paths-webpack-plugin": "^4.1.0",
|
||||
"typescript": "^5.2.2",
|
||||
"undici": "^6.2.1",
|
||||
"vite-plugin-svgr": "^4.2.0",
|
||||
"vite-tsconfig-paths": "^4.3.1",
|
||||
"vitest": "^1.2.1",
|
||||
"vitest-dom": "^0.1.1",
|
||||
"webpack": "^5.88.2",
|
||||
"webpack-build-notifier": "^2.3.0",
|
||||
"webpack-bundle-analyzer": "^4.9.1",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue