fforbeck
fforbeck
CDCloudflare Developers
Created by fforbeck on 9/27/2024 in #workers-help
What is the best way to run an Integration Test for my Worker that uses the Rate Limiter API?
Hey there, I have a worked that uses several different middlewares and one of them is based on the Rate Limiter API to limit requests to my Worker. I found that miniflare doesn't support testing with Rate Limiter API, so I was wondering what is the best way I can do an integration test at the moment. There are no documentation about it.
2 replies
CDCloudflare Developers
Created by fforbeck on 9/25/2024 in #general-help
How to test my Rate Limiter (typescript) locally
Hey, I was wondering if you have any documentation on how to test my Rate Limiter implementation locally with the worker I created. I am using miniflare, but I don't see an option to enable the Rate Limiter there. Thank you!
4 replies