Skip to content

Commit dc2b474

Browse files
authored
Update all test dependencies (#3340)
1 parent 45b031f commit dc2b474

14 files changed

+233
-410
lines changed

.yarn/versions/b2685e0b.yml

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
declined:
2+
- primitives
3+
- "@radix-ui/react-primitive"

cypress.config.ts

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
import { defineConfig } from 'cypress';
2+
3+
export default defineConfig({
4+
viewportWidth: 1024,
5+
viewportHeight: 768,
6+
fixturesFolder: false,
7+
e2e: {
8+
// TODO There is a bug (I think) in Cypress that results in the page
9+
// navigating to `about:blank` after certain tests run. Unclear why at this
10+
// stage. This is a hack that seems to prevent it, but unclear why. Debug
11+
// and remove this config option.
12+
// Possibly related: https://github.com/cypress-io/cypress/issues/28527
13+
testIsolation: false,
14+
setupNodeEvents(on, config) {},
15+
baseUrl: 'http://localhost:9009',
16+
},
17+
});

cypress.json

-8
This file was deleted.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

package.json

+9-9
Original file line numberDiff line numberDiff line change
@@ -40,19 +40,19 @@
4040
"@storybook/react-webpack5": "^8.4.7",
4141
"@storybook/test": "^8.4.7",
4242
"@storybook/theming": "^8.4.7",
43-
"@testing-library/cypress": "^7.0.6",
44-
"@testing-library/dom": "^10.1.0",
45-
"@testing-library/jest-dom": "^5.16.4",
46-
"@testing-library/react": "^16.0.0",
47-
"@testing-library/user-event": "^14.1.0",
43+
"@testing-library/cypress": "^10.0.3",
44+
"@testing-library/dom": "^10.4.0",
45+
"@testing-library/jest-dom": "^6.6.3",
46+
"@testing-library/react": "^16.2.0",
47+
"@testing-library/user-event": "^14.6.1",
4848
"@types/fs-extra": "^11",
4949
"@types/jest": "^29.5.14",
50-
"@types/jest-axe": "^3.5.3",
50+
"@types/jest-axe": "^3.5.9",
5151
"@types/react": "^19.0.7",
5252
"@types/react-dom": "^19.0.3",
5353
"@types/react-test-renderer": "^19.0.0",
54-
"cypress": "^8.0.0",
55-
"cypress-real-events": "^1.5.0",
54+
"cypress": "^14.0.0",
55+
"cypress-real-events": "^1.14.0",
5656
"esbuild": "0.21.4",
5757
"eslint": "^9.18.0",
5858
"eslint-plugin-cypress": "^4.1.0",
@@ -64,7 +64,7 @@
6464
"jest": "^29.7.0",
6565
"jest-axe": "^6.0.0",
6666
"jest-environment-jsdom": "^29.7.0",
67-
"jest-watch-typeahead": "^1.0.0",
67+
"jest-watch-typeahead": "^2.2.2",
6868
"lint-staged": "^10.5.3",
6969
"prettier": "^2.0.5",
7070
"pretty-quick": "^2.0.1",

packages/react/primitive/package.json

-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
},
3333
"devDependencies": {
3434
"@repo/typescript-config": "workspace:*",
35-
"@testing-library/react": "^10.4.8",
3635
"@types/react": "^19.0.7",
3736
"@types/react-dom": "^19.0.3",
3837
"react": "^19.0.0",

0 commit comments

Comments
 (0)