Skip to content

Commit 31003cb

Browse files
authoredNov 1, 2021
Update README.md
1 parent 792086f commit 31003cb

File tree

1 file changed

+4
-17
lines changed

1 file changed

+4
-17
lines changed
 

‎README.md

+4-17
Original file line numberDiff line numberDiff line change
@@ -36,23 +36,10 @@ yarn dev
3636

3737
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
3838

39-
You can start editing the page by modifying `pages/index.js`. The page auto-updates as you edit the file.
39+
## How does the test fixture work?
4040

41-
[API routes](https://nextjs.org/docs/api-routes/introduction) can be accessed on [http://localhost:3000/api/hello](http://localhost:3000/api/hello). This endpoint can be edited in `pages/api/hello.js`.
41+
See [nextjs-fixture](nextjs-fixture/index.ts)
4242

43-
The `pages/api` directory is mapped to `/api/*`. Files in this directory are treated as [API routes](https://nextjs.org/docs/api-routes/introduction) instead of React pages.
43+
## How do I write tests?
4444

45-
## Learn More
46-
47-
To learn more about Next.js, take a look at the following resources:
48-
49-
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
50-
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
51-
52-
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!
53-
54-
## Deploy on Vercel
55-
56-
The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.
57-
58-
Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.
45+
See [hello.test.ts](tests/hello.test.ts)

0 commit comments

Comments
 (0)