@@ -95,11 +95,11 @@ describe('execute', () => {
95
95
96
96
it ( 'should cancel jobs' , async ( ) => {
97
97
// workflow-run.list
98
- // 30433642 run_number=562, updated_at=2020-02-22T19:33:08Z (re-run) => expected to be canceled
99
- // 30433643 run_number=563, updated_at=2020-01-23T19:33:08Z (merge commit) => expected to be canceled
100
- // 30433644 run_number=564, updated_at=2020-01-24T19:33:08Z (target run) => expected to be canceled
101
- // 30433645 run_number=565, updated_at=2020-01-25T19:33:08Z => expected not to be canceled
102
- // 30433646~30433649 (different event) => expected not to be canceled
98
+ // 30433642 run_number=562, updated_at=2020-02-22T19:33:08Z (re-run) => expected that this will be cancelled
99
+ // 30433643 run_number=563, updated_at=2020-01-23T19:33:08Z (merge commit) => expected that this will be cancelled
100
+ // 30433644 run_number=564, updated_at=2020-01-24T19:33:08Z (target run) => expected that this will be cancelled
101
+ // 30433645 run_number=565, updated_at=2020-01-25T19:33:08Z => expected that this will not be cancelled
102
+ // 30433646~30433649 (different event) => expected that this will not be cancelled
103
103
104
104
const mockStdout = spyOnStdout ( ) ;
105
105
nock ( 'https://api.github.com' )
@@ -199,11 +199,11 @@ describe('execute', () => {
199
199
200
200
it ( 'should cancel jobs (consider re-run, set interval)' , async ( ) => {
201
201
// workflow-run.list
202
- // 30433642 run_number=562, updated_at=2020-02-22T19:33:08Z (re-run) => expected not to be canceled
203
- // 30433643 run_number=563, updated_at=2020-01-23T19:33:08Z (merge commit) => expected not to be canceled
204
- // 30433644 run_number=564, updated_at=2020-01-24T19:33:08Z (target run) => expected to be canceled
205
- // 30433645 run_number=565, updated_at=2020-01-25T19:33:08Z => expected not to be canceled
206
- // 30433646~30433649 (different event) => expected not to be canceled
202
+ // 30433642 run_number=562, updated_at=2020-02-22T19:33:08Z (re-run) => expected that this will not be cancelled
203
+ // 30433643 run_number=563, updated_at=2020-01-23T19:33:08Z (merge commit) => expected that this will not be cancelled
204
+ // 30433644 run_number=564, updated_at=2020-01-24T19:33:08Z (target run) => expected that this will be cancelled
205
+ // 30433645 run_number=565, updated_at=2020-01-25T19:33:08Z => expected that this will not be cancelled
206
+ // 30433646~30433649 (different event) => expected that this will not be cancelled
207
207
208
208
process . env . INPUT_EXCLUDE_MERGED = 'true' ;
209
209
process . env . INPUT_CONSIDER_RE_RUN = 'true' ;
0 commit comments