Skip to content

Commit ae08fb2

Browse files
authored
Merge pull request #3637 from EledenGreen/patch-5
change word from Jest to Vitest in Part-5c.md
2 parents 03f0f7d + 8bda4ab commit ae08fb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/5/en/part5c.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -863,6 +863,6 @@ Vitest offers a completely different alternative to "traditional" testing called
863863

864864
The fundamental principle is to compare the HTML code defined by the component after it has changed to the HTML code that existed before it was changed.
865865

866-
If the snapshot notices some change in the HTML defined by the component, then either it is new functionality or a "bug" caused by accident. Snapshot tests notify the developer if the HTML code of the component changes. The developer has to tell Jest if the change was desired or undesired. If the change to the HTML code is unexpected, it strongly implies a bug, and the developer can become aware of these potential issues easily thanks to snapshot testing.
866+
If the snapshot notices some change in the HTML defined by the component, then either it is new functionality or a "bug" caused by accident. Snapshot tests notify the developer if the HTML code of the component changes. The developer has to tell Vitest if the change was desired or undesired. If the change to the HTML code is unexpected, it strongly implies a bug, and the developer can become aware of these potential issues easily thanks to snapshot testing.
867867

868868
</div>

0 commit comments

Comments
 (0)