Skip to content

Commit 0fd46f0

Browse files
authored
Merge pull request #12 from ivanroguerre/bugfix/fix-typo-in-vitest-section
Fix: Update Testing Documentation to Correctly Reference Vitest
2 parents c7130c7 + 05a0ad7 commit 0fd46f0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lessons/07-testing/A-vitest.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Let's go add an npm script. In your package.json.
4444

4545
> Fun trick: if you call it test, npm lets you run that command as just `npm t`.
4646
47-
This command lets you run Jest in an interactive mode where it will re-run tests selectively as you save them. This lets you get instant feedback if your test is working or not. This is probably my favorite feature of Vitest.
47+
This command lets you run Vitest in an interactive mode where it will re-run tests selectively as you save them. This lets you get instant feedback if your test is working or not. This is probably my favorite feature of Vitest.
4848

4949
Okay, one little configuration to add to your `vite.config.js`.
5050

@@ -67,4 +67,4 @@ Now that we've got that going, let's go write a test.
6767
[hd]: https://github.com/capricorn86/happy-dom
6868
[vitest]: https://vitest.dev/
6969
[v4]: https://frontendmasters.com/courses/intermediate-react-v4/setup-jest-testing-library/
70-
[lp]: https://frontendmasters.com/learn/build-tools/
70+
[lp]: https://frontendmasters.com/learn/build-tools/

0 commit comments

Comments
 (0)