Skip to content

Commit

Permalink
kosovo is xkx
Browse files Browse the repository at this point in the history
  • Loading branch information
richorama committed Apr 30, 2024
1 parent 9078436 commit 3ac633c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2793,7 +2793,7 @@ var countries = [
capital: 'Pristina',
fips: 'KV',
iso2: 'XK',
iso3: 'XKS',
iso3: 'XKX',
isoNo: null,
internet: 'XK'
},
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "country-code-lookup",
"version": "0.1.2",
"version": "0.1.3",
"description": "Finds countries by various country codes",
"main": "index.js",
"types": "./index.d.ts",
Expand Down
7 changes: 7 additions & 0 deletions test.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,4 +141,11 @@ describe("country code", function () {
done();
});

it("Kosovo is XKX", function (done) {
var sudan = countries.byIso("XKX");
if (sudan.iso3 != 'XKX') return done("Kosovo should have iso XKX");

done();
});

});

0 comments on commit 3ac633c

Please sign in to comment.