File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -158,11 +158,11 @@ export interface ILocationStackFrameDetails {
158158export type WorkspaceTestStatus = { workspace : Uri ; status : TestStatus } ;
159159
160160export 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 '
166166}
167167export type TestDataItem = TestWorkspaceFolder | TestFolder | TestFile | TestSuite | TestFunction ;
168168
Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ export function createMockTestDataItem<T extends TestDataItem>(
8989 case TestDataItemType . workspaceFolder :
9090 return ( new TestWorkspaceFolder ( { uri : Uri . file ( '' ) , name : 'a' , index : 0 } ) ) as T ;
9191 default :
92- throw new Error ( ' Unknown type' ) ;
92+ throw new Error ( ` Unknown type ${ type } ` ) ;
9393 }
9494}
9595
You can’t perform that action at this time.
0 commit comments