Skip to content

Commit

Permalink
[#29] Remove unnecessary test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
hoangmirs committed Jul 29, 2022
1 parent e4b828e commit 4758e95
Show file tree
Hide file tree
Showing 10 changed files with 0 additions and 40 deletions.
4 changes: 0 additions & 4 deletions src/templates/aws/addons/alb.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,6 @@ describe('ALB add-on', () => {
expect(projectDir).toHaveFiles(expectedFiles);
});

it('creates expected folders', () => {
expect(projectDir).toHaveDirectory('modules/alb/');
});

it('adds ALB module to main.tf', () => {
expect(projectDir).toHaveContentInFile('main.tf', albModuleContent);
});
Expand Down
4 changes: 0 additions & 4 deletions src/templates/aws/addons/bastion.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,6 @@ describe('Bastion add-on', () => {
expect(projectDir).toHaveFiles(expectedFiles);
});

it('creates expected folders', () => {
expect(projectDir).toHaveDirectory('modules/bastion/');
});

it('adds bastion module to main.tf', () => {
expect(projectDir).toHaveContentInFile('main.tf', bastionModuleContent);
});
Expand Down
4 changes: 0 additions & 4 deletions src/templates/aws/addons/ecr.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,6 @@ describe('ECR add-on', () => {
expect(projectDir).toHaveFiles(expectedFiles);
});

it('creates expected folders', () => {
expect(projectDir).toHaveDirectory('modules/ecr/');
});

it('adds ECR module to main.tf', () => {
expect(projectDir).toHaveContentInFile('main.tf', ecrModuleContent);
});
Expand Down
4 changes: 0 additions & 4 deletions src/templates/aws/addons/ecs.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,6 @@ describe('ECS add-on', () => {
expect(projectDir).toHaveFiles(expectedFiles);
});

it('creates expected folders', () => {
expect(projectDir).toHaveDirectory('modules/ecs/');
});

it('adds ECS module to main.tf', () => {
expect(projectDir).toHaveContentInFile('main.tf', ecsModuleContent);
});
Expand Down
4 changes: 0 additions & 4 deletions src/templates/aws/addons/log.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,6 @@ describe('Log add-on', () => {
expect(projectDir).toHaveFiles(expectedFiles);
});

it('creates expected folders', () => {
expect(projectDir).toHaveDirectory('modules/log/');
});

it('adds log module to main.tf', () => {
expect(projectDir).toHaveContentInFile('main.tf', logModuleContent);
});
Expand Down
4 changes: 0 additions & 4 deletions src/templates/aws/addons/rds.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,6 @@ describe('RDS add-on', () => {
expect(projectDir).toHaveFiles(expectedFiles);
});

it('creates expected folders', () => {
expect(projectDir).toHaveDirectory('modules/rds/');
});

it('adds RDS module to main.tf', () => {
expect(projectDir).toHaveContentInFile('main.tf', rdsModuleContent);
});
Expand Down
4 changes: 0 additions & 4 deletions src/templates/aws/addons/s3.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,6 @@ describe('S3 add-on', () => {
expect(projectDir).toHaveFiles(expectedFiles);
});

it('creates expected folders', () => {
expect(projectDir).toHaveDirectory('modules/s3/');
});

it('adds S3 module to main.tf', () => {
expect(projectDir).toHaveContentInFile('main.tf', s3ModuleContent);
});
Expand Down
4 changes: 0 additions & 4 deletions src/templates/aws/addons/securityGroup.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,6 @@ describe('Security group add-on', () => {
expect(projectDir).toHaveFiles(expectedFiles);
});

it('creates expected folders', () => {
expect(projectDir).toHaveDirectory('modules/security_group/');
});

it('adds security group module to main.tf', () => {
expect(projectDir).toHaveContentInFile(
'main.tf',
Expand Down
4 changes: 0 additions & 4 deletions src/templates/aws/addons/ssm.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,6 @@ describe('SSM add-on', () => {
expect(projectDir).toHaveFiles(expectedFiles);
});

it('creates expected folders', () => {
expect(projectDir).toHaveDirectory('modules/ssm/');
});

it('adds SSM module to main.tf', () => {
expect(projectDir).toHaveContentInFile('main.tf', ssmModuleContent);
});
Expand Down
4 changes: 0 additions & 4 deletions src/templates/aws/addons/vpc.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,6 @@ describe('VPC add-on', () => {
expect(projectDir).toHaveFiles(expectedFiles);
});

it('creates expected folders', () => {
expect(projectDir).toHaveDirectory('modules/vpc/');
});

it('adds VPC module to main.tf', () => {
expect(projectDir).toHaveContentInFile('main.tf', vpcModuleContent);
});
Expand Down

0 comments on commit 4758e95

Please sign in to comment.