Skip to content

Commit 4250479

Browse files
authored
Merge pull request #8 from SafdarJamal/feature/unit-testing
Add Testing Support with Vitest
2 parents 34cfc4c + 333d4cd commit 4250479

File tree

6 files changed

+4996
-364
lines changed

6 files changed

+4996
-364
lines changed

README.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,11 @@ vite-template-react
3030
└── src
3131
├── App.css
3232
├── App.jsx
33+
├── App.test.jsx
3334
├── index.css
3435
├── index.jsx
3536
└── logo.svg
37+
└── setupTests.js
3638
├── .gitignore
3739
├── index.html
3840
├── package.json
@@ -75,11 +77,12 @@ And then open http://localhost:3000 to view it in the browser.
7577

7678
In this project, you can run the following scripts:
7779

78-
| Script | Description |
79-
| ------------- | --------------------------------------------------- |
80-
| npm run dev | Runs the app in the development mode. |
81-
| npm run build | Builds the app for production to the `dist` folder. |
82-
| npm run serve | Serves the production build from the `dist` folder. |
80+
| Script | Description |
81+
| ------------- | ------------------------------------------------------- |
82+
| npm start | Runs the app in the development mode. |
83+
| npm test | Launches the test runner in the interactive watch mode. |
84+
| npm run build | Builds the app for production to the `dist` folder. |
85+
| npm run serve | Serves the production build from the `dist` folder. |
8386

8487
## Credits
8588

0 commit comments

Comments
 (0)