Skip to content
This repository was archived by the owner on May 15, 2021. It is now read-only.

Commit 0fda440

Browse files
fix: broken tests
1 parent 36636f2 commit 0fda440

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

__tests__/process.test.ts

+6
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ describe('execute', () => {
4242

4343
stdoutCalledWith(mockStdout, [
4444
'> This is not target context.',
45+
'',
4546
'::set-output name=ids::',
4647
]);
4748
});
@@ -99,6 +100,7 @@ describe('execute', () => {
99100
'',
100101
'::group::Cancelling...',
101102
'> total: 0',
103+
'',
102104
'::set-output name=ids::',
103105
'::endgroup::',
104106
]);
@@ -203,6 +205,7 @@ describe('execute', () => {
203205
'cancel: 30433643',
204206
'cancel: 30433644',
205207
'> total: 3',
208+
'',
206209
'::set-output name=ids::30433642,30433643,30433644',
207210
'::endgroup::',
208211
]);
@@ -298,6 +301,7 @@ describe('execute', () => {
298301
'::group::Cancelling...',
299302
'cancel: 30433644',
300303
'> total: 1',
304+
'',
301305
'::set-output name=ids::30433644',
302306
'::endgroup::',
303307
]);
@@ -418,6 +422,7 @@ describe('execute', () => {
418422
'cancel: 30433644',
419423
'cancel: 30433645',
420424
'> total: 4',
425+
'',
421426
'::set-output name=ids::30433642,30433643,30433644,30433645',
422427
'::endgroup::',
423428
]);
@@ -530,6 +535,7 @@ describe('execute', () => {
530535
'cancel: 30433644',
531536
'::error::request to https://api.github.com/repos/hello/world/actions/runs/30433644/cancel failed, reason: Cannot cancel a workflow run that is completed.',
532537
'> total: 3',
538+
'',
533539
'::set-output name=ids::30433642,30433643,30433644',
534540
'::endgroup::',
535541
]);

0 commit comments

Comments
 (0)