-
Notifications
You must be signed in to change notification settings - Fork 825
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
test(cli): add test for get-userpoolgroup-list.ts #7227
test(cli): add test for get-userpoolgroup-list.ts #7227
Conversation
Codecov Report
@@ Coverage Diff @@
## master #7227 +/- ##
==========================================
+ Coverage 52.28% 52.30% +0.01%
==========================================
Files 491 492 +1
Lines 25242 25251 +9
Branches 4952 4952
==========================================
+ Hits 13199 13208 +9
Misses 11091 11091
Partials 952 952
Continue to review full report at Codecov.
|
@@ -0,0 +1,43 @@ | |||
import { getUserPoolGroupList } from '../../../../src/extensions/amplify-helpers/get-userpoolgroup-list'; |
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 think you can simplify this a bit:
import { getUserPoolGroupList } from '../../../../src/extensions/amplify-helpers/get-userpoolgroup-list'; | |
import { getUserPoolGroupList } from '../../../extensions/amplify-helpers/get-userpoolgroup-list'; |
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.
Thanks. I fixed it.
Thank you for the contribution! |
This commit adds a test for get-userpoolgroup-list.ts
Description of changes
Increase test coverage of amplify-cli.
Description of how you validated changes
Checklist
yarn test
passesBy submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.