Commit 94e8d57
committed
fix: update test mocks to handle async getState() calls in Task constructor
- Added missing vscode.workspace.onDidChangeWorkspaceFolders mock
- Added missing vscode.Uri mock
- Added missing vscode.RelativePattern mock
- Fixed mockProvider.getState to return a Promise in Dynamic Strategy Selection tests
These changes fix the failing tests that were caused by the new async code
added to retrieve the openTabsAtEndOfList setting in the Task constructor.1 parent 31c9f70 commit 94e8d57
1 file changed
+21
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
| 119 | + | |
119 | 120 | | |
120 | 121 | | |
121 | 122 | | |
| |||
127 | 128 | | |
128 | 129 | | |
129 | 130 | | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
130 | 150 | | |
131 | 151 | | |
132 | 152 | | |
| |||
1313 | 1333 | | |
1314 | 1334 | | |
1315 | 1335 | | |
1316 | | - | |
| 1336 | + | |
1317 | 1337 | | |
1318 | 1338 | | |
1319 | 1339 | | |
| |||
0 commit comments