add failing test
This commit is contained in:
@@ -22,5 +22,12 @@ suite("evaluation", function () {
|
||||
undefined
|
||||
);
|
||||
});
|
||||
|
||||
test("it should not mistake lack of confidence for falsy", function () {
|
||||
assert.strictEqual(
|
||||
getPath("foo || 'bar'").get("body")[0].evaluate().value,
|
||||
undefined
|
||||
);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user