We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d1a760 commit 51ce389Copy full SHA for 51ce389
test/unit/ci_start.test.js
@@ -11,6 +11,7 @@ import {
11
CI_PR_URL
12
} from '../../lib/ci/run_ci.js';
13
import PRChecker from '../../lib/pr_checker.js';
14
+import PRData from '../../lib/pr_data.js';
15
16
import TestCLI from '../fixtures/test_cli.js';
17
@@ -125,6 +126,10 @@ describe('Jenkins', () => {
125
126
}safe`, async() => {
127
const cli = new TestCLI();
128
129
+ sinon.replace(PRData.prototype, 'getCollaborators',
130
+ function() { this.collaborators = []; });
131
+ sinon.replace(PRData.prototype, 'getComments',
132
+ function() { this.comments = []; });
133
sinon.replace(PRChecker.prototype, 'getApprovedTipOfHead',
134
sinon.fake.returns(certifySafe && 'deadbeef'));
135
0 commit comments