Skip to content

Commit 1500e8f

Browse files
committed
update readme
1 parent 8d13748 commit 1500e8f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
## About
2+
13
This is a sample project that shows how to test async React Server Components in Next.js using
24

35
- this gist: https://gist.github.com/sroebert/a04ca6e0232a4a60bc50d7f164f101f6
@@ -12,6 +14,12 @@ The component that is being tested is a [Greeting](./src/app/greeting.tsx) compo
1214

1315
## Running the tests
1416

17+
The test file can be found in [greeting.test.tsx](./src/app/greeting.test.tsx).
18+
1519
```bash
1620
npm run test
1721
```
22+
23+
## Blog Post
24+
25+
Read the blog post [here](https://nico.fyi/blog/how-to-test-react-server-component).

0 commit comments

Comments
 (0)