Skip to content

Commit 94f56ad

Browse files
committed
Test fix
1 parent 4ea83bc commit 94f56ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PathNode.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ describe('PathNode', function () {
4141
const node = new PathNode('bar');
4242

4343
expect(() => { node.data = "foo" }).to.throw("Cannot store data in non-leaf node");
44-
expect(node.data).to.be.null;
44+
expect(node.data).to.be.undefined;
4545
});
4646

4747
it('should allow storing data in leaf node', function () {

0 commit comments

Comments
 (0)