Skip to content

Conversation

@mrgrain
Copy link
Contributor

@mrgrain mrgrain commented Apr 29, 2025

Moves the tests that belong with the toolkit-lib into the toolkit-lib.


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

@aws-cdk-automation aws-cdk-automation requested a review from a team April 29, 2025 19:19
@github-actions github-actions bot added the p2 label Apr 29, 2025
branches: 76,
functions: 87,
lines: 82,
lines: 81,
Copy link
Contributor

Choose a reason for hiding this comment

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

lowered! naughty

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah it's weird. It passes in build with the previous value, but not in codecov

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah it's weird. It passes in build with the previous value, but not in codecov

"branches": 76,
"functions": 87,
"lines": 82
"lines": 81
Copy link
Contributor

Choose a reason for hiding this comment

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

naughty again

Comment on lines +160 to +162
const accountId = this.defaultAccounts.length === 0
? '123456789012'
: this.defaultAccounts.shift()!;
Copy link
Contributor

Choose a reason for hiding this comment

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

sure but why not const accountId = this.defaultAccounts.shift() ?? '123456789012';

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Cause I just copied it!

Copy link
Contributor

Choose a reason for hiding this comment

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

well whoever wrote that seems to not know that the nullish coalescer exists...

@aws-cdk-automation aws-cdk-automation added this pull request to the merge queue Apr 29, 2025
@mrgrain mrgrain removed this pull request from the merge queue due to a manual request Apr 29, 2025
@mrgrain mrgrain temporarily deployed to integ-approval April 30, 2025 10:23 — with GitHub Actions Inactive
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.15%. Comparing base (2093af0) to head (29d727e).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #428      +/-   ##
==========================================
- Coverage   79.86%   79.15%   -0.72%     
==========================================
  Files          65       54      -11     
  Lines        6900     6889      -11     
  Branches      787      773      -14     
==========================================
- Hits         5511     5453      -58     
- Misses       1366     1418      +52     
+ Partials       23       18       -5     
Flag Coverage Δ
suite.unit 79.15% <ø> (-0.72%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@mrgrain mrgrain added this pull request to the merge queue Apr 30, 2025
Merged via the queue into main with commit 03b92bc Apr 30, 2025
20 checks passed
@mrgrain mrgrain deleted the toolkit-lib-tests-move branch April 30, 2025 11:41
@mrgrain mrgrain self-assigned this Apr 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

p2 pr/exempt-size-check Skips PR size check

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants