arcjet / arcjet-js

Arcjet JS SDKs. Rate limiting, bot protection, email verification & attack defense for Node.js, Next.js, Bun & SvelteKit.
https://arcjet.com
Apache License 2.0
237 stars 5 forks source link

Test that rules are sent to the api correctly #1398

Open e-moran opened 3 weeks ago

e-moran commented 3 weeks ago

We should have tests that ensure that we send rules to the api properly.

This was flagged here: https://github.com/arcjet/arcjet-js/pull/1300#discussion_r1729352109