We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b10a09 commit f227147Copy full SHA for f227147
1 file changed
extensions/ql-vscode/test/factories/authentication.ts
@@ -1,8 +1,8 @@
1
-import { retry } from "@octokit/plugin-retry";
2
import * as Octokit from "@octokit/rest";
3
import { RequestInterface } from "@octokit/types/dist-types/RequestInterface";
4
5
import { Credentials } from "../../src/common/authentication";
+import { AppOctokit } from "../../src/common/octokit";
6
7
function makeTestOctokit(octokit: Octokit.Octokit): Credentials {
8
return {
@@ -38,5 +38,5 @@ export function testCredentialsWithStub(
38
* optionally authenticated with a given token.
39
*/
40
export function testCredentialsWithRealOctokit(token?: string): Credentials {
41
- return makeTestOctokit(new Octokit.Octokit({ auth: token, retry }));
+ return makeTestOctokit(new AppOctokit({ auth: token }));
42
}
0 commit comments