Hey! Is there a testing strategy with hapi server ...
# support-questions
s
Hey! Is there a testing strategy with hapi server injection (I am testing scope of user for different routes) and supertokens? I am using sessionManagement. Do I have to copy sAccessToken, sRefreshToken, sIdRefreshToken from
Copy code
const res = await server.inject({
      method: 'POST',
      url: '/login',
      payload: loginData,
    });
or there is a way to do it with sessionManagement on each injection?