Skip to content

Commit b0c84fe

Browse files
committed
test: Clarify variable naming
1 parent 0cecc80 commit b0c84fe

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

__tests__/ipinfoWrapper.test.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,10 +207,11 @@ describe("IPinfoWrapper", () => {
207207

208208
await expect(ipinfo.lookupIp("1.2.3.4")).rejects.toThrow();
209209

210-
const status = await ipinfo
210+
const result = await ipinfo
211211
.lookupIp("1.2.3.4")
212212
.then((_) => "parseable")
213213
.catch((_) => "unparseable");
214-
expect(status).toEqual("unparseable");
214+
215+
expect(result).toEqual("unparseable");
215216
});
216217
});

0 commit comments

Comments
 (0)