Skip to content

Commit d530172

Browse files
authored
Merge pull request #810 from Lemoncode/xvii/testing
Xvii/testing
2 parents 7a97623 + da5d04f commit d530172

File tree

70 files changed

+31424
-29928
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+31424
-29928
lines changed

05-testing/01-react/01-base/01-config/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ describe('dummy specs', () => {
139139

140140
# External config
141141

142-
We could create a jest config outside `package.json` to improve maintainability.
142+
We could create a config outside `package.json` to improve maintainability.
143143

144144
> [Config file](https://vitest.dev/config/)
145145

05-testing/01-react/02-components/00-boilerplate/package-lock.json

+2,202-2,155
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
{
22
"name": "05-testing-01-react",
33
"version": "1.0.0",
4-
"description": "Learn testing by sample using Jest and React, each of the samples contains a readme.md file that indicates the purpose of the sample plus an step by step guide to reproduce it.",
4+
"description": "Learn testing React by sample, each of the samples contains a readme.md file that indicates the purpose of the sample plus an step by step guide to reproduce it.",
55
"type": "module",
66
"scripts": {
77
"start": "run-p -l type-check:watch start:dev",
88
"start:dev": "vite --open",
99
"type-check": "tsc --noEmit",
1010
"type-check:watch": "npm run type-check -- --watch",
11-
"clean": "rimraf dist",
1211
"test": "vitest -c ./config/test/config.ts"
1312
},
1413
"imports": {
@@ -19,21 +18,20 @@
1918
"dependencies": {
2019
"@emotion/react": "^11.14.0",
2120
"@emotion/styled": "^11.14.0",
22-
"@mui/material": "^6.2.0",
23-
"axios": "^1.7.9",
24-
"react": "^19.0.0",
25-
"react-dom": "^19.0.0",
26-
"react-router-dom": "^7.0.2"
21+
"@mui/material": "^7.1.0",
22+
"axios": "^1.9.0",
23+
"react": "^19.1.0",
24+
"react-dom": "^19.1.0",
25+
"react-router": "^7.5.3"
2726
},
2827
"devDependencies": {
29-
"@types/node": "^22.10.2",
30-
"@types/react": "^19.0.1",
31-
"@types/react-dom": "^19.0.2",
32-
"@vitejs/plugin-react": "^4.3.4",
28+
"@types/node": "^22.15.12",
29+
"@types/react": "^19.1.3",
30+
"@types/react-dom": "^19.1.3",
31+
"@vitejs/plugin-react": "^4.4.1",
3332
"npm-run-all": "^4.1.5",
34-
"rimraf": "^6.0.1",
35-
"typescript": "^5.7.2",
36-
"vite": "^6.0.3",
37-
"vitest": "^2.1.8"
33+
"typescript": "^5.8.3",
34+
"vite": "^6.3.5",
35+
"vitest": "^3.1.3"
3836
}
3937
}

0 commit comments

Comments
 (0)