Back

register/login

  • 0
  • Tools
  • Auth
  • Databases
  • Web
Mai
11 Jun, 2024, 21:00

Does mocking (using Jest) how the user gets registered count towards a rate limit?

TL;DR
Integration tests that call the API contribute to rate limits since it's a regular call. Mocking user registration with Jest does not count towards the rate limit.
Kenny
11 Jun, 2024, 21:11

If it's an integration test that actually calls the API then yes it would could towards the rate limit, since it's a normal call.

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more