Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use jest for testing, add some quality-of-life improvements #230

Merged
merged 7 commits into from
Jun 15, 2021
Merged

Conversation

GaryGSC
Copy link
Member

@GaryGSC GaryGSC commented Jun 15, 2021

I'm mainly trying to move the conversation from #214 along.

This bakes some opinions into our template. I figure the changes are relatively non-controversial, since they should work for developers outside of OIT. I'm open to bikeshedding.

GaryGSC added 5 commits June 15, 2021 12:16
Several npm packages like `jest`, `eslint`, and `snazzy` (which is used
to format `standard` output) rely on a package called `chalk` to format
output. For whatever reason, `chalk` doesn't detect that GitHub Actions
supports color. This environment variable tells `chalk` (and thus those
other packages) that we support color.
- Rename to hw-fargate-api
- Add description
- Rearrange
- Add `jest`
- Configure `jest` to report coverage
- Configure `standard` to play nicely with `jest`
- Use `snazzy` to format `standard` output - test results had pretty
  colored output, so we wanted lint results to have pretty colors, too
  (This makes it easier to skim the results when looking at CI)
This makes it easier to test
@github-actions
Copy link

github-actions bot commented Jun 15, 2021

Terraform Plan:

will create 1 resource:

  • local_file - appspec_json

will update 2 resources:

  • aws_s3_bucket - my_s3_bucket_logs
  • aws_lambda_function - test_lambda

will replace (delete then create) 1 resource:

  • aws_ecs_task_definition - task_def

see details

@GaryGSC GaryGSC requested a review from a team June 15, 2021 19:16
@GaryGSC
Copy link
Member Author

GaryGSC commented Jun 15, 2021

Somehow I expected more bikeshedding.

@GaryGSC GaryGSC merged commit d3c36c7 into dev Jun 15, 2021
@GaryGSC GaryGSC deleted the opinions branch June 15, 2021 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants