Skip to content

Commit df54981

Browse files
committed
fix: unit test
1 parent 73483ca commit df54981

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

client/test/components/ContentNavigator/ContentDataProvider.test.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import {
33
DataTransferItem,
44
FileStat,
55
FileType,
6-
ThemeIcon,
76
TreeItem,
87
Uri,
98
authentication,
@@ -175,14 +174,14 @@ describe("ContentDataProvider", async function () {
175174
const treeItem = await dataProvider.getTreeItem(contentItem);
176175
const uri = contentItem.vscUri;
177176
const expectedTreeItem: TreeItem = {
178-
iconPath: ThemeIcon.File,
179177
id: "unique-id",
180178
label: "testFile",
181179
command: {
182180
command: "vscode.open",
183181
arguments: [uri],
184182
title: "Open SAS File",
185183
},
184+
resourceUri: uri,
186185
};
187186

188187
expect(treeItem).to.deep.include(expectedTreeItem);

0 commit comments

Comments
 (0)