File tree 2 files changed +6
-6
lines changed 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -158,11 +158,11 @@ export interface ILocationStackFrameDetails {
158
158
export type WorkspaceTestStatus = { workspace : Uri ; status : TestStatus } ;
159
159
160
160
export enum TestDataItemType {
161
- workspaceFolder = 'testWorkspaceFolder ' ,
162
- folder = 'testFolder ' ,
163
- file = 'testFile ' ,
164
- suite = 'testSuite ' ,
165
- function = 'testFunction '
161
+ workspaceFolder = 'workspaceFolder ' ,
162
+ folder = 'folder ' ,
163
+ file = 'file ' ,
164
+ suite = 'suite ' ,
165
+ function = 'function '
166
166
}
167
167
export type TestDataItem = TestWorkspaceFolder | TestFolder | TestFile | TestSuite | TestFunction ;
168
168
Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ export function createMockTestDataItem<T extends TestDataItem>(
89
89
case TestDataItemType . workspaceFolder :
90
90
return ( new TestWorkspaceFolder ( { uri : Uri . file ( '' ) , name : 'a' , index : 0 } ) ) as T ;
91
91
default :
92
- throw new Error ( ' Unknown type' ) ;
92
+ throw new Error ( ` Unknown type ${ type } ` ) ;
93
93
}
94
94
}
95
95
You can’t perform that action at this time.
0 commit comments