Add response code to test result values

This commit is contained in:
Michael Krasnyk
2017-05-09 15:56:30 +02:00
committed by Patrick Niklaus
parent 2f02384d22
commit a5bfcd876f
2 changed files with 6 additions and 1 deletions
+2
View File
@@ -39,6 +39,8 @@ module.exports = function () {
let json = JSON.parse(body);
got.code = json.code;
let hasRoute = json.code === 'Ok';
if (hasRoute) {