Skip to content

Commit 414e5e8

Browse files
committed
fixing indentation
1 parent a69bca0 commit 414e5e8

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

index.test.js

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,6 @@ describe('Deploy to ECS', () => {
187187
expect(waitUntilServicesStable).toHaveBeenCalledTimes(0);
188188
expect(core.info).toBeCalledWith("Deployment started. Watch this deployment's progress in the Amazon ECS console: https://fake-region.console.aws.amazon.com/ecs/v2/clusters/cluster-789/services/service-456/events?region=fake-region");
189189
});
190-
191190

192191
test('registers the task definition contents and updates the service if deployment controller type is ECS', async () => {
193192
mockEcsDescribeServices.mockImplementation(
@@ -557,7 +556,7 @@ describe('Deploy to ECS', () => {
557556
.mockReturnValueOnce('service-456') // service
558557
.mockReturnValueOnce('cluster-789') // cluster
559558
.mockReturnValueOnce('TRUE') // wait-for-service-stability
560-
.mockReturnValueOnce('60'); // wait-for-minutes
559+
.mockReturnValueOnce('60'); // wait-for-minutes
561560

562561
mockEcsDescribeServices.mockImplementation(
563562
() => Promise.resolve({
@@ -634,7 +633,7 @@ describe('Deploy to ECS', () => {
634633
.mockReturnValueOnce('cluster-789') // cluster
635634
.mockReturnValueOnce('TRUE') // wait-for-service-stability
636635
.mockReturnValueOnce('1000'); // wait-for-minutes
637-
636+
638637
mockEcsDescribeServices.mockImplementation(
639638
() => Promise.resolve({
640639
failures: [],
@@ -1165,8 +1164,7 @@ describe('Deploy to ECS', () => {
11651164
launchType: 'EC2',
11661165
taskDefinition: 'task:def:arn',
11671166
overrides: { containerOverrides: [{ name: 'someapp', command: 'somecmd' }] },
1168-
networkConfiguration: { awsvpcConfiguration: { subnets: ['a', 'b'], securityGroups: ['c', 'd'], assignPublicIp: "DISABLED" } },
1169-
1167+
networkConfiguration: { awsvpcConfiguration: { subnets: ['a', 'b'], securityGroups: ['c', 'd'], assignPublicIp: "DISABLED" } }
11701168
});
11711169
expect(core.setOutput).toHaveBeenNthCalledWith(2, 'run-task-arn', ["arn:aws:ecs:fake-region:account_id:task/arn"]);
11721170
});
@@ -1247,7 +1245,6 @@ describe('Deploy to ECS', () => {
12471245
}],
12481246
tasks: [],
12491247
executionStoppedAt: 1
1250-
12511248
})
12521249
);
12531250

0 commit comments

Comments
 (0)