Shuo Wu

Results 176 comments of Shuo Wu

@mraible I am successfully reproduced your issue in the sample repo. I also tried to print the authJs instance, then it turns out the test env picked the server bundle...

@mraible It's configurable in jest (https://jest-bot.github.io/jest/docs/configuration.html#browser-boolean) and no mock is needed.

The reason is the test env picked the server bundle which is missing the `emitter` field in the created instance. And the browser bundle is not supposed to support non-browser...

@robertjd There is no test in this sample repo. The jest config is for tests in Matt's repo.

Let's wait on the official `react-router-dom` v6 release to merge this PR.

@staffordp You can ignore the `WARN`. The error message ``` AuthSdkError: OAuth flow timed out ``` does like some mock is missing, can you provide any test case that fails,...