forked from mirror/Riven
74eb5fa045
- `example/proxy` is new folder for `example_proxy`. - `riven` is new folder for the main riven lib. - Updated metadata to be an array and include HTTP method.
9 lines
554 B
Markdown
9 lines
554 B
Markdown
Tests are divided up by region. This is because tests cannot share state, and therefore
|
|
cannot share the rate limiting done within a `RiotApi` instance. However, rate limiting
|
|
is separate for each region, so it is safe to send requests to different regions from
|
|
different instances.
|
|
|
|
The tests within an individual file do share their `RiotApi` instance thanks to custom
|
|
test runners and some macros I hacked together which are located in `async_tests.rs`.
|
|
They are set up in a way to look like normal test output for fun and probably to
|
|
confuse people.
|