This repository was archived by the owner on Dec 20, 2025. It is now read-only.
Commit 05ffb59
authored
test(google-sr): improve test organization and rate limiting (#77)
* test(google-sr): remove old tests
* test(google-sr): add tests dependencies
* fix(google-sr): improve URL construction in safeGetFetch to handle query parameters correctly
* refactor(google-sr): simplify decodeResponse function by removing fallback charset detection
* test(google-sr): improve test organization and rate limiting
- Standardize rate limiting cooldown across test files
- Only apply cooldown when live tests are enabled
- Simplify test assertions and structure
- Remove redundant test helpers and constants1 parent 51828ad commit 05ffb59
8 files changed
Lines changed: 479 additions & 310 deletions
File tree
- packages/google-sr
- src
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
| 36 | + | |
35 | 37 | | |
36 | 38 | | |
37 | 39 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
32 | 33 | | |
33 | | - | |
| 34 | + | |
| 35 | + | |
34 | 36 | | |
35 | 37 | | |
36 | 38 | | |
| |||
45 | 47 | | |
46 | 48 | | |
47 | 49 | | |
48 | | - | |
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
52 | 53 | | |
53 | 54 | | |
54 | 55 | | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
69 | 60 | | |
70 | 61 | | |
71 | 62 | | |
| |||
This file was deleted.
This file was deleted.
0 commit comments