-
Notifications
You must be signed in to change notification settings - Fork 79
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
chore[@aws-amplify/graphql-category-api]: suppress reexport and type-only files from coverage metrics #3087
chore[@aws-amplify/graphql-category-api]: suppress reexport and type-only files from coverage metrics #3087
Conversation
62d1217
to
6456512
Compare
… @aws-amplify/graphql-category-api
6456512
to
acbf9bd
Compare
@@ -2,11 +2,4 @@ const baseConfig = require('../../jest.config.base.js'); // eslint-disable-line | |||
|
|||
module.exports = { | |||
...baseConfig, | |||
coverageThreshold: { |
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.
I'm curious why we want to remove the threshold?
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.
Because we have a global threshold of 90% in jest.config.base.js
, from which the package-specific configs extend: https://github.com/aws-amplify/amplify-category-api/blob/main/jest.config.base.js#L16-L21
The overrides were only needed to reduce the threshold in a package where we haven't yet achieved it.
* chore: update .jsii assembly * chore: update .jsii assembly * ci: remove unused codeql config (#3079) * docs: update readme for gen 2 (#3080) * chore(deps-dev): bump jsii from 5.6.0 to 5.6.4 (#3082) * chore(deps-dev): bump jsii from 5.6.0 to 5.6.4 Bumps [jsii](https://github.com/aws/jsii-compiler) from 5.6.0 to 5.6.4. - [Release notes](https://github.com/aws/jsii-compiler/releases) - [Changelog](https://github.com/aws/jsii-compiler/blob/main/releases.json) - [Commits](aws/jsii-compiler@v5.6.0...v5.6.4) --- updated-dependencies: - dependency-name: jsii dependency-type: direct:development ... Signed-off-by: dependabot[bot] <[email protected]> * chore: regenerate .jsii Signed-off-by: Kevin Shan <[email protected]> --------- Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: Kevin Shan <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Kevin Shan <[email protected]> * chore: remove `@aws-cdk/assert` from `data-construct`, `api-construct`, and `transformer-core` (#3089) * chore: remove @aws-cdk/assert dep * chore: updated dependency licenses * chore: removed `@aws-cdk/assert` dep from root `package.json` * chore: remove `cfnspec` and `cloudformation` deps * chore: suppress reexport and type-only files from coverage metrics in @aws-amplify/graphql-category-api (#3087) * fix: remove transitive dev dependencies from bundled jsii constructs (#3092) * remove transitive dev dependencies from jsii constructs * update jsii * update yarn.lock * update dep licenses --------- Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: Kevin Shan <[email protected]> Co-authored-by: amplify-data-ci <[email protected]> Co-authored-by: Dane Pilcher <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Kevin Shan <[email protected]> Co-authored-by: Tim Schmelter <[email protected]> Co-authored-by: Ian Saultz <[email protected]>
Description of changes
Suppress reexport and type-only files from coverage metrics in specified package.
Description of how you validated changes
Local test
Checklist
yarn test
passesBy submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.