Closed jmartinesp closed 1 week ago
I wanted to add some tests, but I'm not sure how to test this, to be honest 🫤 . Should I just add some mock response where I check the request contains the server parameter?
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 84.91%. Comparing base (
70bcddf
) to head (f961a57
). Report is 1 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
I wanted to add some tests, but I'm not sure how to test this, to be honest 🫤 . Should I just add some mock response where I check the request contains the server parameter?
You could, but it's strictly testing the behavior of Ruma, so it's not worth IMO. Feel free to call the server()
function in one test, so we have basic coverage for it.
What the title says. This was previously missing.
Signed-off-by: