-
Notifications
You must be signed in to change notification settings - Fork 0
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
implement error-metrics network call #10
Conversation
import kotlinx.serialization.Serializable | ||
|
||
@Suppress("unused") // properties are used in every request inheriting from DefaultRequest |
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 for comments 👍
@Test | ||
fun containsTheRightAttributes() = runTest { | ||
val request = DefaultRequest() | ||
assertEquals("mobile-core-tvOS", request.scriptType) |
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'm not sure but tvOS should not be the default value?
import kotlin.test.Test | ||
import kotlin.test.assertEquals | ||
|
||
class DefaultRequestTest { |
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 suggest renaming or merging 2 classes with same name DefaultRequestTest
In this PR we:
/custom-metrics
network call/custom-metrics
/custom-metrics
if: