Skip to content
This repository was archived by the owner on Jan 13, 2024. It is now read-only.

Commit b0dda22

Browse files
committed
improve npm geoip-lite test
1 parent 7db3666 commit b0dda22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: test/test-79-npm/geoip-lite/geoip-lite.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
var geoip = require('geoip-lite');
44
var ip = '207.97.227.239';
55
var geo = geoip.lookup(ip);
6-
if (geo.country) {
6+
if (geo.country === 'US') {
77
console.log('ok');
88
}

0 commit comments

Comments
 (0)