We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ea83bc commit 94f56adCopy full SHA for 94f56ad
src/PathNode.spec.ts
@@ -41,7 +41,7 @@ describe('PathNode', function () {
41
const node = new PathNode('bar');
42
43
expect(() => { node.data = "foo" }).to.throw("Cannot store data in non-leaf node");
44
- expect(node.data).to.be.null;
+ expect(node.data).to.be.undefined;
45
});
46
47
it('should allow storing data in leaf node', function () {
0 commit comments