-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: replace cypress with vitest (#20445)
Co-authored-by: John Leider <[email protected]>
- Loading branch information
1 parent
1b3ed5a
commit 4fb1513
Showing
147 changed files
with
6,904 additions
and
6,857 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,5 +21,8 @@ coverage/ | |
cypress/screenshots | ||
cypress/videos | ||
|
||
# vitest | ||
__screenshots__/ | ||
|
||
.vercel | ||
.now |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -85,12 +85,15 @@ | |
"vue-tsc": "^2.0.29", | ||
"yargs": "^17.7.2" | ||
}, | ||
"packageManager": "pnpm@9.6.0", | ||
"packageManager": "pnpm@9.10.0", | ||
"pnpm": { | ||
"patchedDependencies": { | ||
"@mdi/[email protected]": "patches/@[email protected]" | ||
"@mdi/[email protected]": "patches/@[email protected]", | ||
"@testing-library/vue": "patches/@testing-library__vue.patch" | ||
}, | ||
"overrides": { | ||
"@testing-library/dom": "npm:@vuetify/[email protected]", | ||
"@types/node": "22.5.4", | ||
"tough-cookie": "5.0.0-rc.4" | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,3 +9,5 @@ | |
/lib-temp/ | ||
/dist/ | ||
/cypress/ | ||
*.spec.cy.ts | ||
*.spec.cy.tsx |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -109,11 +109,14 @@ | |
"build:types": "rimraf types-temp && tsc --pretty --emitDeclarationOnly -p tsconfig.dist.json && rollup --config build/rollup.types.config.mjs && rimraf types-temp", | ||
"tsc": "tsc", | ||
"test": "vitest", | ||
"test:unit": "vitest --project unit", | ||
"test:browser": "vitest --project browser", | ||
"test:open": "TEST_BAIL=1 vitest --project browser -w", | ||
"test:coverage": "pnpm run test --coverage", | ||
"test:percy": "percy exec -- vitest --project browser", | ||
"test:all": "concurrently -gr 'vitest --project unit' 'vitest --project browser --shard=1/5' 'vitest --project browser --shard=2/5' 'vitest --project browser --shard=3/5' 'vitest --project browser --shard=4/5' 'vitest --project browser --shard=5/5'", | ||
"lint": "concurrently -n \"tsc,eslint\" --kill-others-on-fail \"tsc -p tsconfig.checks.json --noEmit --pretty\" \"eslint src -f codeframe --max-warnings 0\"", | ||
"lint:fix": "concurrently -n \"tsc,eslint\" \"tsc -p tsconfig.checks.json --noEmit --pretty\" \"eslint --fix src\"", | ||
"cy:open": "cypress open --component -b electron", | ||
"cy:run": "percy exec -- cypress run --component" | ||
"lint:fix": "concurrently -n \"tsc,eslint\" \"tsc -p tsconfig.checks.json --noEmit --pretty\" \"eslint --fix src\"" | ||
}, | ||
"devDependencies": { | ||
"@date-io/core": "3.0.0", | ||
|
@@ -123,17 +126,22 @@ | |
"@fortawesome/fontawesome-svg-core": "^6.5.2", | ||
"@fortawesome/free-solid-svg-icons": "^6.5.2", | ||
"@fortawesome/vue-fontawesome": "^3.0.6", | ||
"@percy/cli": "^1.28.2", | ||
"@percy/cypress": "^3.1.2", | ||
"@percy/cli": "^1.29.3", | ||
"@percy/sdk-utils": "^1.29.3", | ||
"@rollup/plugin-alias": "^5.1.0", | ||
"@rollup/plugin-babel": "^6.0.4", | ||
"@rollup/plugin-node-resolve": "^15.2.3", | ||
"@rollup/plugin-typescript": "^11.1.6", | ||
"@types/node": "^20.12.7", | ||
"@testing-library/dom": "npm:@vuetify/[email protected]", | ||
"@testing-library/user-event": "^14.5.2", | ||
"@testing-library/vue": "^8.1.0", | ||
"@types/node": "^22.5.4", | ||
"@types/resize-observer-browser": "^0.1.11", | ||
"@vitejs/plugin-vue": "^5.0.4", | ||
"@vitejs/plugin-vue-jsx": "^3.1.0", | ||
"@vitest/coverage-v8": "^2.0.5", | ||
"@vitest/browser": "^2.1.1", | ||
"@vitest/coverage-v8": "^2.1.1", | ||
"@vitest/ui": "^2.1.1", | ||
"@vue/babel-plugin-jsx": "^1.2.2", | ||
"@vue/shared": "^3.4.27", | ||
"@vue/test-utils": "2.4.6", | ||
|
@@ -147,19 +155,17 @@ | |
"cssnano": "^6.1.2", | ||
"csstype": "^3.1.3", | ||
"cy-mobile-commands": "^0.3.0", | ||
"cypress": "^13.7.2", | ||
"cypress-file-upload": "^5.0.8", | ||
"cypress-real-events": "^1.12.0", | ||
"date-fns": "^3.6.0", | ||
"dotenv": "^16.4.5", | ||
"eslint-plugin-cypress": "^2.15.1", | ||
"eslint-plugin-jest": "^28.7.0", | ||
"eslint-plugin-vitest": "0.4.1", | ||
"expect": "^28.1.3", | ||
"fast-glob": "^3.3.2", | ||
"identity-obj-proxy": "^3.0.0", | ||
"jsdom": "^25.0.0", | ||
"micromatch": "^4.0.5", | ||
"postcss": "^8.4.38", | ||
"roboto-fontface": "^0.10.0", | ||
"rollup": "^3.20.7", | ||
"rollup-plugin-dts": "^6.1.0", | ||
"rollup-plugin-sass": "^1.12.21", | ||
|
@@ -169,11 +175,12 @@ | |
"unplugin-auto-import": "0.17.5", | ||
"unplugin-vue-components": "^0.27.4", | ||
"upath": "^2.0.1", | ||
"vite": "^5.4.0", | ||
"vite": "^5.4.3", | ||
"vite-ssr": "^0.17.1", | ||
"vitest": "^2.0.5", | ||
"vitest": "^2.1.1", | ||
"vue-i18n": "^9.7.1", | ||
"vue-router": "^4.3.0" | ||
"vue-router": "^4.3.0", | ||
"webdriverio": "^8.40.5" | ||
}, | ||
"peerDependencies": { | ||
"typescript": ">=4.7", | ||
|
1 change: 0 additions & 1 deletion
1
...s/vuetify/src/__tests__/framework.spec.ts → ...y/src/__tests__/framework.spec.browser.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.