Skip to content

Commit e28be05

Browse files
ydanivnovemberborn
authored andcommitted
Fixed makeApp() in endpoint testing recipe (#1479)
1 parent 465fcec commit e28be05

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/recipes/endpoint-testing.md

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Since tests run concurrently, it's best to create a fresh server instance for ea
99
```js
1010
function makeApp() {
1111
const app = express();
12+
app.use(bodyParser.json());
1213
app.post('/signup', signupHandler);
1314
return app;
1415
}

0 commit comments

Comments
 (0)