Start Mock Server

Github Sign in Callback (🏁 solution)
πŸ‘¨β€πŸ’Ό Since we have the mock server going, our OAuth integration mocks in
tests/mocks/github.ts
will handle requests made by the remix-auth-github during our tests. But that's just got our happy-path stuff. We need to test the unhappy-path stuff too. Let's get to that next.
πŸ§β€β™‚οΈ I'm going to add another utility for us called assertToastSent. Basically, there are several spots in
app/routes/_auth+/auth.$provider.callback.ts
where we redirect the user and pop up a toast for them. We want to test that functionality. You can write it yourself if you like (check out
app/utils/toast.server.ts
for how it works), or you can check my changes.

Please set the playground first

Loading "Start Mock Server"
Loading "Start Mock Server"