Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vojtechjelinek committed Aug 4, 2023
1 parent 60e6fa4 commit c27eec5
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions spec/checkIssueLabelsSpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,11 @@ describe('Check Issue Labels Module', () => {
expect(octokit.issues.createComment).toHaveBeenCalled();
const user = payload.sender.login;
const body = (
'Hi @ ' + user + ', only certain users are allowed to add good ' +
'issue labels. Looping in @oppia/oppia-good-first-issue-labelers ' +
'to add the label.');
'Hi @' + user + ', only certain users are allowed to add good ' +
'first issue labels. ' +
'Looping in @oppia/oppia-good-first-issue-labelers ' +
'to add the label.'
);

expect(octokit.issues.createComment).toHaveBeenCalledWith({
issue_number: payload.issue.number,
Expand Down

0 comments on commit c27eec5

Please sign in to comment.