test: fix fixture

master
Pooya Parsa 2020-12-23 11:19:31 +01:00
parent 9ee0d00153
commit 145644a421
1 changed files with 1 additions and 0 deletions

View File

@ -4,6 +4,7 @@ module.exports = {
if (req.url === '/error') { if (req.url === '/error') {
res.statusCode = 418 res.statusCode = 418
res.end('Detailed error message') res.end('Detailed error message')
return
} }
res.end(JSON.stringify({ res.end(JSON.stringify({