mirror of https://github.com/sundowndev/http.git
test: fix fixture
parent
9ee0d00153
commit
145644a421
|
@ -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({
|
||||||
|
|
Loading…
Reference in New Issue