Skip to content

Commit 12352af

Browse files
committed
squash: update tests
1 parent 2fae5c5 commit 12352af

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

test/unit/pr_checker.test.js

+8-4
Original file line numberDiff line numberDiff line change
@@ -643,9 +643,11 @@ describe('PRChecker', () => {
643643
info:
644644
[['This PR was created on Fri, 30 Nov 2018 17:50:44 GMT'],
645645
['This PR is being fast-tracked']],
646-
error:
646+
warn:
647647
[['The fast-track request requires at' +
648-
" least two collaborators' approvals (👍)."]]
648+
" least two collaborators' approvals (👍)."]],
649+
error:
650+
[['This PR needs to wait 24 more hours to land']]
649651
};
650652

651653
const pr = Object.assign({}, firstTimerPR, {
@@ -693,9 +695,11 @@ describe('PRChecker', () => {
693695
info:
694696
[['This PR was created on Fri, 30 Nov 2018 17:50:44 GMT'],
695697
['This PR is being fast-tracked']],
696-
error:
698+
warn:
697699
[['The fast-track request requires at' +
698-
" least one collaborator's approval (👍)."]]
700+
" least one collaborator's approval (👍)."]],
701+
error:
702+
[['This PR needs to wait 24 more hours to land']]
699703
};
700704

701705
const pr = Object.assign({}, firstTimerPR, {

0 commit comments

Comments
 (0)