Skip to content

Commit

Permalink
chore(docs): pg & nanoid dep install in tutorial (#1175)
Browse files Browse the repository at this point in the history
Co-authored-by: Jason Kuhrt <jasonkuhrt@me.com>
closes #1112
  • Loading branch information
ubmit committed Jul 7, 2020
1 parent 46082ca commit f36860f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/tutorial/chapter-6-testing-with-prisma.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ To perform integration testing against a real database, here are the high level

To achieve some of the steps described above, we'll use a custom Jest environment.

First, install `pg` and `nanoid` packages

```bash
npm add pg nanoid
```

Create a `tests/nexus-test-environment.js` module and copy & paste the following to it

```js
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ To perform integration testing against a real database, here are the high level

To achieve some of the steps described above, we'll use a custom Jest environment.

First, install `pg` and `nanoid` packages

```bash
npm add pg nanoid
```

Create a `tests/nexus-test-environment.js` module and copy & paste the following to it

```js
Expand Down

0 comments on commit f36860f

Please sign in to comment.