mirror of
https://github.com/github/codeql-action.git
synced 2025-12-23 07:40:10 +08:00
Add JSDoc for mockDownloadApi
This commit is contained in:
@@ -67,6 +67,12 @@ test.beforeEach(() => {
|
||||
};
|
||||
});
|
||||
|
||||
/**
|
||||
* Mocks the API for downloading the bundle tagged `tagName`.
|
||||
*
|
||||
* @returns the download URL for the bundle. This can be passed to the tools parameter of
|
||||
* `codeql.setupCodeQL`.
|
||||
*/
|
||||
async function mockDownloadApi({
|
||||
apiDetails = sampleApiDetails,
|
||||
isPinned,
|
||||
|
||||
Reference in New Issue
Block a user