File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -1146,6 +1146,15 @@ describe('Deploy to ECS', () => {
1146
1146
expect ( mockEcsRegisterTaskDef ) . toHaveBeenNthCalledWith ( 1 , { family : 'task-def-family' } ) ;
1147
1147
expect ( core . setOutput ) . toHaveBeenNthCalledWith ( 1 , 'task-definition-arn' , 'task:def:arn' ) ;
1148
1148
expect ( mockRunTask ) . toHaveBeenCalledTimes ( 1 ) ;
1149
+ expect ( mockRunTask ) . toHaveBeenNthCalledWith ( 1 , {
1150
+ startedBy : 'GitHub-Actions' ,
1151
+ cluster : 'default' ,
1152
+ launchType : 'FARGATE' ,
1153
+ taskDefinition : 'task:def:arn' ,
1154
+ overrides : { "containerOverrides" : [ ] } ,
1155
+ networkConfiguration : { } ,
1156
+ } ) ;
1157
+
1149
1158
expect ( core . setOutput ) . toHaveBeenNthCalledWith ( 2 , 'run-task-arn' , [ "arn:aws:ecs:fake-region:account_id:task/arn" ] ) ;
1150
1159
} ) ;
1151
1160
You can’t perform that action at this time.
0 commit comments