Test the API

Your task In the code box, write at least three tests for app.js: POST /tasks with a title answers 201 and the task; with an empty title answers 400; a new task shows in GET /tasks. Then press Run my code.

Getting the editor ready