File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,23 +31,23 @@ describe('Deploy to ECS', () => {
3131
3232 jest . mock ( './task-definition.json' , ( ) => ( { family : 'task-def-family' } ) , { virtual : true } ) ;
3333
34- mockEcsRegisterTaskDef . mockImplementation ( ( params ) => {
34+ mockEcsRegisterTaskDef . mockImplementation ( ( ) => {
3535 return {
3636 promise ( ) {
3737 return Promise . resolve ( { taskDefinition : { taskDefinitionArn : 'task:def:arn' } } ) ;
3838 }
3939 } ;
4040 } ) ;
4141
42- mockEcsUpdateService . mockImplementation ( ( params ) => {
42+ mockEcsUpdateService . mockImplementation ( ( ) => {
4343 return {
4444 promise ( ) {
4545 return Promise . resolve ( { } ) ;
4646 }
4747 } ;
4848 } ) ;
4949
50- mockEcsWaiter . mockImplementation ( ( params ) => {
50+ mockEcsWaiter . mockImplementation ( ( ) => {
5151 return {
5252 promise ( ) {
5353 return Promise . resolve ( { } ) ;
Original file line number Diff line number Diff line change 44 "description" : " Registers an Amazon ECS task definition and deploys it to an ECS service." ,
55 "main" : " index.js" ,
66 "scripts" : {
7- "lint" : " eslint index .js" ,
7+ "lint" : " eslint ** .js" ,
88 "package" : " ncc build index.js -o dist" ,
9- "test" : " eslint index .js && jest --coverage"
9+ "test" : " eslint ** .js && jest --coverage"
1010 },
1111 "repository" : {
1212 "type" : " git" ,
You can’t perform that action at this time.
0 commit comments