Skip to content

Commit 50c1fe7

Browse files
committed
test: Do not use API when running tests
1 parent 60d6279 commit 50c1fe7

File tree

12 files changed

+4707
-919
lines changed

12 files changed

+4707
-919
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"ip": "198.51.100.1",
3+
"bogon": true
4+
}

__tests__/fixtures/8.8.8.8.json

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
{
2+
"ip": "8.8.8.8",
3+
"hostname": "dns.google",
4+
"anycast": true,
5+
"city": "Mountain View",
6+
"region": "California",
7+
"country": "US",
8+
"loc": "37.4056,-122.0775",
9+
"org": "AS15169 Google LLC",
10+
"postal": "94043",
11+
"timezone": "America/Los_Angeles",
12+
"asn": {
13+
"asn": "AS15169",
14+
"name": "Google LLC",
15+
"domain": "google.com",
16+
"route": "8.8.8.0/24",
17+
"type": "hosting"
18+
},
19+
"company": {
20+
"name": "Google LLC",
21+
"domain": "google.com",
22+
"type": "hosting"
23+
},
24+
"privacy": {
25+
"vpn": false,
26+
"proxy": false,
27+
"tor": false,
28+
"relay": false,
29+
"hosting": true,
30+
"service": ""
31+
},
32+
"abuse": {
33+
"address": "US, CA, Mountain View, 1600 Amphitheatre Parkway, 94043",
34+
"country": "US",
35+
"email": "[email protected]",
36+
"name": "Abuse",
37+
"network": "8.8.8.0/24",
38+
"phone": "+1-650-253-0000"
39+
},
40+
"domains": {
41+
"ip": "8.8.8.8",
42+
"total": 12095,
43+
"domains": [
44+
"hdchina.org",
45+
"musicool.cn",
46+
"allnet.cn",
47+
"aonode.com",
48+
"didifilm.com"
49+
]
50+
}
51+
}

0 commit comments

Comments
 (0)