File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -31,23 +31,23 @@ describe('Deploy to ECS', () => {
31
31
32
32
jest . mock ( './task-definition.json' , ( ) => ( { family : 'task-def-family' } ) , { virtual : true } ) ;
33
33
34
- mockEcsRegisterTaskDef . mockImplementation ( ( params ) => {
34
+ mockEcsRegisterTaskDef . mockImplementation ( ( ) => {
35
35
return {
36
36
promise ( ) {
37
37
return Promise . resolve ( { taskDefinition : { taskDefinitionArn : 'task:def:arn' } } ) ;
38
38
}
39
39
} ;
40
40
} ) ;
41
41
42
- mockEcsUpdateService . mockImplementation ( ( params ) => {
42
+ mockEcsUpdateService . mockImplementation ( ( ) => {
43
43
return {
44
44
promise ( ) {
45
45
return Promise . resolve ( { } ) ;
46
46
}
47
47
} ;
48
48
} ) ;
49
49
50
- mockEcsWaiter . mockImplementation ( ( params ) => {
50
+ mockEcsWaiter . mockImplementation ( ( ) => {
51
51
return {
52
52
promise ( ) {
53
53
return Promise . resolve ( { } ) ;
Original file line number Diff line number Diff line change 4
4
"description" : " Registers an Amazon ECS task definition and deploys it to an ECS service." ,
5
5
"main" : " index.js" ,
6
6
"scripts" : {
7
- "lint" : " eslint index .js" ,
7
+ "lint" : " eslint ** .js" ,
8
8
"package" : " ncc build index.js -o dist" ,
9
- "test" : " eslint index .js && jest --coverage"
9
+ "test" : " eslint ** .js && jest --coverage"
10
10
},
11
11
"repository" : {
12
12
"type" : " git" ,
You can’t perform that action at this time.
0 commit comments