Skip to content

Commit

Permalink
test: remove extraneous method spy
Browse files Browse the repository at this point in the history
  • Loading branch information
chingor13 committed Sep 9, 2024
1 parent 0a4f648 commit 78d0c25
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/trusted-contribution/test/trusted-contribution.ts
Original file line number Diff line number Diff line change
Expand Up @@ -837,7 +837,6 @@ describe('TrustedContributionTestRunner', () => {
'getAuthenticatedOctokit'
);
const testOctokit = new Octokit();
const octokitIssuesSpy = sandbox.spy(testOctokit.issues, 'createComment');
getAuthenticatedOctokitStub.resolves(testOctokit);
requests
.get(
Expand Down Expand Up @@ -880,7 +879,6 @@ describe('TrustedContributionTestRunner', () => {
process.env.PROJECT_ID || '',
utilsModule.SECRET_NAME_FOR_COMMENT_PERMISSION
);
assert(octokitIssuesSpy.calledOnce);
});

it('should log an error if the config cannot be fetched', async () => {
Expand Down

0 comments on commit 78d0c25

Please sign in to comment.