Skip to content

Commit f7100f7

Browse files
committed
test: verify initialization was skipped
1 parent 978f6db commit f7100f7

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/notebooks/deepnote/deepnoteTreeItem.unit.test.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -616,6 +616,13 @@ suite('DeepnoteTreeItem', () => {
616616
// but should not throw during construction
617617
assert.isDefined(item);
618618
assert.strictEqual(item.type, DeepnoteTreeItemType.Loading);
619+
620+
// Verify initialization was skipped - these properties should not be set
621+
assert.isUndefined(item.tooltip);
622+
assert.isUndefined(item.iconPath);
623+
assert.isUndefined(item.description);
624+
// label is set to empty string by TreeItem base class
625+
assert.strictEqual(item.label, '');
619626
});
620627
});
621628

0 commit comments

Comments
 (0)