mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-05 19:04:02 +00:00
style: format the Overpass admission tests
Co-Authored-By: Claude Fable 5.1 <[email protected]>
This commit is contained in:
1 parent
55f979c128
commit
9059cd942f
1 file changed
+4
-1
@@ -250,7 +250,10 @@ test('IPv6 peers share a /64 admission bucket and IPv4-mapped peers fold to IPv4
|
|||||||
forbidRead: true,
|
forbidRead: true,
|
||||||
});
|
});
|
||||||
assert.equal(rotated.statusCode, 429, 'a rotating host stays in one bucket');
|
assert.equal(rotated.statusCode, 429, 'a rotating host stays in one bucket');
|
||||||
assert.equal((await call(route, { peer: '2001:db8:1:3::1' })).statusCode, 400);
|
assert.equal(
|
||||||
|
(await call(route, { peer: '2001:db8:1:3::1' })).statusCode,
|
||||||
|
400,
|
||||||
|
);
|
||||||
for (let i = 0; i < 300; i++) {
|
for (let i = 0; i < 300; i++) {
|
||||||
assert.equal(
|
assert.equal(
|
||||||
(await call(route, { peer: '::ffff:10.1.1.1' })).statusCode,
|
(await call(route, { peer: '::ffff:10.1.1.1' })).statusCode,
|
||||||
|
|||||||
Reference in new issue
Block a user