Brandon Domingue
Brandon Domingue
Sorry for the delays, I cannot reproduce this issue, see #220. Could you provide a reproduction?
Sorry about that, was unintentional. I can try looking into this later today.
That test passes just fine when I put it into StackBlitz. Did I copy something incorrectly there? https://stackblitz.com/edit/github-3wajlf?file=examples/service-only-testing.spec.ts
Hey, checking back in. Any updates on this? Was it a missing "import" for the `HttpClientModule` in the `ApiModule`?
Good to hear you got it working. This does sound like what I would expect from the module system. From my understanding of the module system, to gain access to...
Oh, I didn't realize that you were also exporting the HttpClientModule from your shared module. That does seem like a problem. I looked through the code to see if I...
My best guess is that you need to `dontMock` the testing module too.
Hey, was just running through the issues for shallow-render and wanted to check in with you on this. I noticed that I was wrong about needing the `dontMock` here, replacement...
I decided to try reproducing this again and I'm still not able see this error. Here's a quick repo that contains a standard service that [uses the HttpClientModule with tests](https://github.com/getsaf/shallow-render-ng12/blob/master/src/app/weather.service.spec.ts)...
In our case, it turns out the culprit was a `Suspense` fallback being set to `null`: ```tsx ``` The types for react allow `null` values for the `fallback` prop on...