-
-
Notifications
You must be signed in to change notification settings - Fork 773
test: add IObservable<IApiResponse<T>> test
#1964
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 IObservable<IApiResponse<T>> test
#1964
Conversation
9ff1e13 to
d1328fa
Compare
|
Hi @TimothyMakkison were you expecting this to be building and passing the tests at this point, or is there further work to be done? |
|
I thought it was a simple test addition 😔 I have no idea who it keeps failing. The failure message doesn't seem related to my change no? |
|
NVM I think Should I move this test to a different file or fix the generator test? |
Perhaps fixing the generator test would be best. I am currently working in Australia so haven't had much availability. Back to the UK on Tuesday |
👍 Is it okay if I add verify to I can't remember why I didn't do this before |
Yes that's fine, we use it widely across the ReactiveUI projects |
a56cff6 to
ddddb09
Compare
|
Build keeps failing because the initialisation of verify is somehow running twice despite being inside a static constructor. I have no idea how this happens, I thought type initialisation code only ran once. Normally this would be fixed by using
I read the verify docs and it turns out I can use |
428b27f to
63b6d83
Compare
63b6d83 to
075dbb5
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1964 +/- ##
==========================================
- Coverage 87.73% 85.37% -2.36%
==========================================
Files 33 37 +4
Lines 2348 2510 +162
Branches 294 365 +71
==========================================
+ Hits 2060 2143 +83
- Misses 208 289 +81
+ Partials 80 78 -2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Add test for
IObservable<IApiResponse<T>>