Add response code to test result values
This commit is contained in:
committed by
Patrick Niklaus
parent
2f02384d22
commit
a5bfcd876f
@@ -39,6 +39,8 @@ module.exports = function () {
|
||||
|
||||
let json = JSON.parse(body);
|
||||
|
||||
got.code = json.code;
|
||||
|
||||
let hasRoute = json.code === 'Ok';
|
||||
|
||||
if (hasRoute) {
|
||||
|
||||
Reference in New Issue
Block a user