Closed aychtang closed 3 years ago
It doesn't seem to correctly mock the call in examples/nodejs/index.ts
Ok fixed it in d79931d101ebb02542a70cb39c8d73e7634be439, it's just that in the mocked request I was including www.
in the requestPattern
.
The github action is failing as the new test is not under rootDir
which is currently /src
, where do we want to put this stuff? I think it shouldn't be in /src
as it's not source code for the app.
@aychtang what's the status of this PR? Looks like the unit test pipeline is failing
I will add some kind of example as a separate repo which we can then link to from the README of the main project.
Hey guys, was looking at potentially adding some examples like I mentioned in #17.
There is an error with the example test I added:
but I'm not sure why this occurs. I don't really know about MSW but maybe I'm misusing mock-inspect in this case?