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

fix(awscdk): integ tests are still not working for libraries #1302

Merged
merged 2 commits into from
Dec 7, 2021

Conversation

eladb
Copy link
Contributor

@eladb eladb commented Dec 7, 2021

  1. The -P switch for ts-node should have appeared before the entrypoint.
  2. Implement tryGetDependency()

Fixes #1300
Fixes #1299 (again)


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@eladb eladb requested a review from Chriscbr December 7, 2021 18:57
@mergify mergify bot added the contribution/core ⚙️ used by automation label Dec 7, 2021
*
* @returns a copy (cannot be modified) or undefined if there is no match
*/
public tryGetDependency(name: string, type?: DependencyType): Dependency | undefined {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Chriscbr I saw you also added this, but I get credit for also adding a test :-)

@codecov-commenter
Copy link

Codecov Report

Merging #1302 (dd30400) into main (377966e) will increase coverage by 9.19%.
The diff coverage is 92.61%.

❗ Current head dd30400 differs from pull request most recent head 6bfa839. Consider uploading reports for the commit 6bfa839 to get more accurate results
Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1302      +/-   ##
==========================================
+ Coverage   78.46%   87.65%   +9.19%     
==========================================
  Files          88      127      +39     
  Lines        3181     4877    +1696     
  Branches      809     1153     +344     
==========================================
+ Hits         2496     4275    +1779     
+ Misses        683      602      -81     
+ Partials        2        0       -2     
Impacted Files Coverage Δ
src/cdk/construct-lib.ts 85.71% <ø> (ø)
src/clobber.ts 100.00% <ø> (ø)
src/dev-env.ts 83.33% <ø> (ø)
src/github/index.ts 100.00% <ø> (ø)
src/object-file.ts 100.00% <ø> (+2.38%) ⬆️
src/release/bump-version.ts 98.63% <ø> (ø)
src/release/index.ts 100.00% <ø> (ø)
src/release/publisher.ts 99.07% <ø> (ø)
src/release/release-trigger.ts 100.00% <ø> (ø)
src/release/release.ts 97.84% <ø> (ø)
... and 132 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 87fbb27...6bfa839. Read the comment docs.

@mergify mergify bot merged commit fb6fe7d into main Dec 7, 2021
@mergify mergify bot deleted the benisrae/cdk-integ branch December 7, 2021 19:04
@jumic
Copy link
Contributor

jumic commented Dec 7, 2021

Thanks for your quick response and the fix. 🚀 Issue resolved. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contribution/core ⚙️ used by automation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CDK integration tests fail with Emit skipped in awscdk-construct projects
4 participants