Navigation Menu

Skip to content

Commit

Permalink
fix 404 check (#202)
Browse files Browse the repository at this point in the history
  • Loading branch information
Eomm authored and mcollina committed Sep 7, 2019
1 parent 8f6d6b8 commit fc353de
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test/route.js
Expand Up @@ -390,11 +390,10 @@ test('/documentation/static/:file 404', t => {
t.error(err)
const payload = JSON.parse(res.payload)
t.strictEqual(res.statusCode, 404)
t.deepEqual({
message: 'Not Found',
t.match(payload, {
error: 'Not Found',
statusCode: 404
}, payload)
})
})
})

Expand Down

0 comments on commit fc353de

Please sign in to comment.