Commit 2e5b2ae
fix: use not.toBeNull() for cache-control header check
Headers.get() returns null (not undefined) when absent, so
toBeDefined() always passes. Same class of bug as the rate-limit fix.
Co-Authored-By: Chris K <ckorhonen@gmail.com>1 parent 9c249ac commit 2e5b2ae
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1186 | 1186 | | |
1187 | 1187 | | |
1188 | 1188 | | |
1189 | | - | |
| 1189 | + | |
1190 | 1190 | | |
1191 | 1191 | | |
1192 | 1192 | | |
| |||
0 commit comments