Skip to content

Commit 6a5982b

Browse files
committed
fix: update input-file status bar test to expect 3 items
The test was expecting 2 items but the provider now returns 3: - Type label - Variable name - Choose File button
1 parent 43fe8af commit 6a5982b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ suite('DeepnoteInputBlockCellStatusBarItemProvider', () => {
121121
const items = provider.provideCellStatusBarItems(cell);
122122

123123
expect(items).to.not.be.undefined;
124-
expect(items).to.have.lengthOf(2);
124+
expect(items).to.have.lengthOf(3); // Type label, variable, and choose file button
125125
expect(items?.[0].text).to.equal('Input File');
126126
});
127127

0 commit comments

Comments
 (0)