-
Notifications
You must be signed in to change notification settings - Fork 578
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
feat: use ts-jest for running jest tests #2088
Conversation
Codecov Report
@@ Coverage Diff @@
## main #2088 +/- ##
=======================================
Coverage ? 78.83%
=======================================
Files ? 377
Lines ? 16095
Branches ? 3489
=======================================
Hits ? 12688
Misses ? 3407
Partials ? 0 Continue to review full report at Codecov.
|
add **/src/** after clients move their source code to src folder
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some discussion offline. LGTM!
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread. |
Issue
Fixes: #1032
Description
Runs all jest tests using ts-jest. This removes the need of transpiling
*.spec.ts
files allowing developers to build source just once, and run tests without transpling.Caveat: The build command is removed from pretest for individual packages. Developers will have to explicitly run
build
instead ofpretest
before running tests.Testing
Verified that jest tests are successfully run after the build is successful.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.