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