Skip to content

Commit

Permalink
Update tests for latest data files
Browse files Browse the repository at this point in the history
  • Loading branch information
bluesmoon committed Feb 15, 2024
1 parent d1cfd41 commit 138ce66
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ module.exports = {

test.strictEqual(actual.metro, 501, "should match metro");

test.strictEqual(actual.area, 1, "should match area");
test.strictEqual(actual.area, 5, "should match area");

test.done();
},
Expand All @@ -63,7 +63,7 @@ module.exports = {

test.strictEqual(actual.timezone, 'Europe/Amsterdam', "should match timezone");

test.strictEqual(actual.city, 'Amsterdam', "should match city");
test.strictEqual(actual.city, 'Zandvoort', "should match city");

test.ok(actual.ll, 'should contain coordinates');

Expand All @@ -78,7 +78,7 @@ module.exports = {
test.expect(2);

var ip = "2.139.175.1";
var expected = "Pamplona";
var expected = "Madrid";
var actual = geoip.lookup(ip);

test.ok(actual, "Should return a non-null value for " + ip);
Expand Down

0 comments on commit 138ce66

Please sign in to comment.