File tree Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -39,10 +39,7 @@ const mockSelection = class extends mockRange {
3939export const workspace = {
4040 workspaceFolders : [ ] ,
4141 getWorkspaceFolder : ( ) => null ,
42- onDidChangeWorkspaceFolders : ( callback ) => {
43- // Return a disposable that can be used to unsubscribe
44- return mockDisposable
45- } ,
42+ onDidChangeWorkspaceFolders : ( ) => mockDisposable ,
4643 getConfiguration : ( ) => ( {
4744 get : ( ) => null ,
4845 } ) ,
@@ -114,12 +111,6 @@ export const Range = mockRange
114111export const Position = mockPosition
115112export const Selection = mockSelection
116113export const Disposable = mockDisposable
117- export const RelativePattern = class {
118- constructor ( base , pattern ) {
119- this . base = base
120- this . pattern = pattern
121- }
122- }
123114export const ThemeIcon = class {
124115 constructor ( id ) {
125116 this . id = id
@@ -173,7 +164,6 @@ export default {
173164 Position,
174165 Selection,
175166 Disposable,
176- RelativePattern,
177167 ThemeIcon,
178168 FileType,
179169 DiagnosticSeverity,
You can’t perform that action at this time.
0 commit comments