Skip to content

Commit

Permalink
updated dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Stern committed Jun 14, 2018
1 parent e5f2cd5 commit 51a571a
Show file tree
Hide file tree
Showing 4 changed files with 6,869 additions and 21 deletions.
4 changes: 2 additions & 2 deletions lib/hippie/expect.js
Expand Up @@ -51,7 +51,7 @@ exports.header = function(key, val) {

exports.value = function(key, val) {
return function value(res, body, next) {
next(assert(pathval(key, body), val, 'Value - ' + key));
next(assert(pathval.getPathValue(body, key), val, 'Value - ' + key));
};
};

Expand All @@ -65,7 +65,7 @@ exports.value = function(key, val) {

exports.keyCheck = function(keyParam) {
return function keyCheck(res, body, next) {
var value = pathval(keyParam, body);
var value = pathval.getPathValue(body, keyParam);
var notUndefined = typeof value !== 'undefined';
next(assert(notUndefined, true, 'Key - ' + keyParam));
};
Expand Down

0 comments on commit 51a571a

Please sign in to comment.