Skip to content

Commit 35f45b5

Browse files
committed
fix test cases
1 parent 0c2e088 commit 35f45b5

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

__tests__/ipinfoWrapper.test.ts

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -109,13 +109,13 @@ describe("IPinfoWrapper", () => {
109109
expect(data["8.8.8.8/hostname"]).toEqual("dns.google");
110110
expect(data["4.4.4.4"]).toEqual({
111111
ip: "4.4.4.4",
112-
city: "Broomfield",
113-
region: "Colorado",
114-
country: "United States",
115-
loc: "39.8854,-105.1139",
112+
city: "Paris",
113+
region: "Île-de-France",
114+
country: "France",
115+
loc: "48.8534,2.3488",
116116
org: "AS3356 Level 3 Parent, LLC",
117-
postal: "80021",
118-
timezone: "America/Denver",
117+
postal: "75000",
118+
timezone: "Europe/Paris",
119119
asn: {
120120
asn: "AS3356",
121121
name: "Level 3 Parent, LLC",
@@ -124,8 +124,8 @@ describe("IPinfoWrapper", () => {
124124
type: "isp"
125125
},
126126
company: {
127-
name: "Level 3 Communications, Inc.",
128-
domain: "level3.com",
127+
name: "Level 3 Parent, LLC",
128+
domain: "lumen.com",
129129
type: "isp"
130130
},
131131
privacy: {
@@ -141,22 +141,22 @@ describe("IPinfoWrapper", () => {
141141
country: "United States",
142142
143143
name: "L3 Abuse Contact",
144-
network: "4.4.0.0/16",
144+
network: "4.0.0.0/9",
145145
phone: "+1-877-453-8353",
146146
countryCode: "US"
147147
},
148148
domains: {
149149
ip: "4.4.4.4",
150-
total: 127,
150+
total: 124,
151151
domains: [
152-
"ncrsaas.com",
153-
"fbidiy.net",
154-
"innnn.in",
155-
"safermoto.com",
156-
"shaoshuaitest0614.net",
152+
"clearcloud.ru",
153+
"ddosxtesting.co.uk",
154+
"fleetzy.com",
155+
"datacenter-team.eu",
156+
"datacenterteam.net",
157157
]
158158
},
159-
countryCode: "US"
159+
countryCode: "FR"
160160
});
161161

162162
expect(data["AS123"]).toEqual({

0 commit comments

Comments
 (0)