Skip to content

Commit

Permalink
chore(docs): fix typo 05-chapter-4-testing-your-api.mdx (#1023)
Browse files Browse the repository at this point in the history
Fix typo.
  • Loading branch information
chengqing97 authored Dec 15, 2021
1 parent 4d03501 commit b92545f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ mkdir tests && touch tests/Post.test.ts

To ease testing, we'll create a small utility that we'll call `createTestContext`, which is designed for running integration tests.

When run, it will boot your app in the same process as the test suite and expose an interface for your tests to interact with it. Jest runs each test suite in its own process, so if you have have say eight test suites running in parallel that means you'll have eight app processes running too.
When run, it will boot your app in the same process as the test suite and expose an interface for your tests to interact with it. Jest runs each test suite in its own process, so if you have say eight test suites running in parallel that means you'll have eight app processes running too.

Create a `tests/__helpers.ts` module with the following contents.

Expand Down

0 comments on commit b92545f

Please # to comment.