-
Notifications
You must be signed in to change notification settings - Fork 1
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 core #29
Conversation
Codecov Report
@@ Coverage Diff @@
## master #29 +/- ##
==========================================
+ Coverage 51.04% 57.18% +6.13%
==========================================
Files 30 30
Lines 382 383 +1
Branches 9 6 -3
==========================================
+ Hits 195 219 +24
+ Misses 187 164 -23
Continue to review full report at Codecov.
|
("test.yaml", ContentType.Yaml), | ||
("test.yml", ContentType.Yaml), | ||
("test.json", ContentType.Json), | ||
("test.txt", ContentType.Plain) |
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.
edge cases ? and what about if reads something else ?
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.
There are 3 types:
- Yaml:
yaml
,yml
- Json:
json
- Others: whatever
("event", "json"), | ||
(Event.ServiceUp("id", "test", Map("key" -> "value")), """{"event":"serviceUp","id":"id","name":"test","metadata":{"key":"value"}}"""), | ||
(Event.ServiceDown("id"), """{"event":"serviceDown","id":"id"}"""), | ||
(List(Event.ServiceUp("id", "test", Map("key" -> "value"))), |
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 would say list doesnt have to belog in this set and maybe create another table with list of service up and service down and mixture of both
✅ Closes #4