From c27eec5dc69f86d1f4996505bc19bce2c9e9dd83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vojt=C4=9Bch=20Jel=C3=ADnek?= Date: Fri, 4 Aug 2023 17:43:58 +0200 Subject: [PATCH] Fix tests --- spec/checkIssueLabelsSpec.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/spec/checkIssueLabelsSpec.js b/spec/checkIssueLabelsSpec.js index c112a828..e1673861 100644 --- a/spec/checkIssueLabelsSpec.js +++ b/spec/checkIssueLabelsSpec.js @@ -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,