-
Notifications
You must be signed in to change notification settings - Fork 74
refactor(toolkit-lib): move tests from CLI to toolkit-lib #428
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
Conversation
| branches: 76, | ||
| functions: 87, | ||
| lines: 82, | ||
| lines: 81, |
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.
lowered! naughty
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.
Yeah it's weird. It passes in build with the previous value, but not in codecov
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.
Yeah it's weird. It passes in build with the previous value, but not in codecov
| "branches": 76, | ||
| "functions": 87, | ||
| "lines": 82 | ||
| "lines": 81 |
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.
naughty again
| const accountId = this.defaultAccounts.length === 0 | ||
| ? '123456789012' | ||
| : this.defaultAccounts.shift()!; |
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.
sure but why not const accountId = this.defaultAccounts.shift() ?? '123456789012';
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.
Cause I just copied it!
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.
well whoever wrote that seems to not know that the nullish coalescer exists...
Codecov ReportAll modified and coverable lines are covered by tests ✅
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
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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