Нагадуємо, що цей проєкт створюється на основі наступного стартового проєкту на <ahref="https://replit.com/github/freeCodeCamp/boilerplate-mochachai"target="_blank"rel="noopener noreferrer nofollow">Replit</a>або клонований з <ahref="https://github.com/freeCodeCamp/boilerplate-mochachai/"target="_blank"rel="noopener noreferrer nofollow">GitHub</a>.
Тепер, коли ви знаєте, як перевірити запит `PUT`, ваша черга зробити це з нуля.
# --instructions--
У межах `tests/2_functional-tests.js` змініть `'Send {surname: "da Verrazzano"}'`, перевірте (`// #4`) та використайте методи `put` та `send`, щоб перевірити кінцеву точку `'/travellers'`.
Надішліть наступний об'єкт JSON з вашим PUT-запитом:
```json
{
"surname": "da Verrazzano"
}
```
Перевірте наступне у межах виклику `request.end`:
1.`status` має бути `200`
2.`type` має бути `application/json`
3.`body.name` має бути `Giovanni`
4.`body.surname` має бути `da Verrazzano`
Дотримуйтесь порядку тверджень вище – ми покладаємося на нього. Також обов'язково видаліть `assert.fail()` після завершення.