-
Notifications
You must be signed in to change notification settings - Fork 5
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: add tests for config.go #144
Conversation
Codecov ReportAll modified lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #144 +/- ##
==========================================
+ Coverage 25.50% 27.08% +1.58%
==========================================
Files 5 5
Lines 443 443
==========================================
+ Hits 113 120 +7
+ Misses 321 316 -5
+ Partials 9 7 -2 ☔ View full report in Codecov by Sentry. |
args: args{componentParser: nil}, | ||
wantErr: false, | ||
}, | ||
// { |
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.
We should add some additional test cases here. Let's merge this in and iterate on another tasks to add more test cases.
I've added a test for the invalid scraper key and a test to check for componentParser being nil.