You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Extension/.scripts/common.ts
+3
Original file line number
Diff line number
Diff line change
@@ -334,6 +334,9 @@ export async function checkDTS() {
334
334
}
335
335
336
336
exportasyncfunctioncheckBinaries(){
337
+
if($switches.includes('--skipCheckBinaries')){
338
+
returnfalse;
339
+
}
337
340
letfailing=false;
338
341
failing=!awaitassertAnyFile(['bin/cpptools.exe','bin/cpptools'])&&(quiet||warn(`The native binary files are not present. You should either build or install the native binaries\n\n.`))||failing;
ok(vscodeGetExtensionsStub.calledOnce,'vscode.extensions.getExtension should be called once');
131
135
ok(mockCopilotApi.registerRelatedFilesProvider.calledWithMatch(sinon.match({extensionId: 'test-extension-id',languageId: sinon.match.in(['c','cpp','cuda-cpp'])})),'registerRelatedFilesProvider should be called with the correct providerId and languageId');
132
-
ok(getActiveClientStub.callCount!==0,'getActiveClient should be called');
136
+
ok(getClientsStub.callCount!==0,'getClients should be called');
133
137
ok(callbackPromise,'callbackPromise should be defined');
134
138
ok(result,'result should be defined');
135
139
ok(result.entries.length===1,'result.entries should have 1 included file');
0 commit comments