Skip to content

Commit

Permalink
docs: Update intro.md
Browse files Browse the repository at this point in the history
  • Loading branch information
minhmo1620 authored and nvh95 committed Apr 25, 2022
1 parent f0a1370 commit 9677f81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website/docs/getting-started/intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ description: When writing tests using Jest, we usually debug by reading the HTML

## Why Jest Preview

When writing tests using Jest, we usually debug by reading the HTML code. Sometimes the HTML is too complicated and it's hard to imagine how the UI looks in our head. `jest-preview` initiates a server and serve your HTML in a browser, then you can see your actual UI visually. This way, it helps you debug jest tests faster.
When writing tests using Jest, we usually debug by reading the HTML code. Sometimes, the HTML is too complicated to visualize the UI in our head. `jest-preview` initiates a server and serve your HTML in a browser, then you can see your actual UI visually, which helps you debug jest tests faster.

`jest-preview` is initially design to work with [jest](https://jestjs.io/) and [react-testing-library](https://testing-library.com/docs/react-testing-library/intro/). However it's framework-agnostic and you can use it with any testing libraries.
`jest-preview` is initially designed to work with [jest](https://jestjs.io/) and [react-testing-library](https://testing-library.com/docs/react-testing-library/intro/). The package is framework-agnostic, and you can use it with any testing libraries.

## Online Demo

Expand Down

0 comments on commit 9677f81

Please sign in to comment.