testing protected trpc procedures using vitest

I know testing is frowned upon by Theo, but i need to know anyway. The closest thing i have found up until now is to use google oauthplayground to request a session, mocking the session seems to not work since the session is filled by nextauth on oauth verification (?). I'd love to be corrected.
Was this page helpful?