country-locale-map
Advanced tools
Comparing version 1.9.0 to 1.9.1
{ | ||
"name": "country-locale-map", | ||
"version": "1.9.0", | ||
"version": "1.9.1", | ||
"homepage": "https://willowy-trifle-097485.netlify.app", | ||
@@ -5,0 +5,0 @@ "description": "Provides mapping between country codes and provides default country locales. Includes optional fuzzy matching for country name.", |
@@ -268,3 +268,8 @@ /* eslint-env node, mocha */ | ||
it("getCurrencyByAlpha2 should return EUR if passed in HR", function () { | ||
let result = clm.getCurrencyByAlpha2("HR"); | ||
expect(result).to.equal("EUR"); | ||
}); | ||
}) |
@@ -272,2 +272,8 @@ /* eslint-env node, mocha */ | ||
it("getCurrencyByAlpha2 should return EUR if passed in HR", function () { | ||
let result = clm.getCurrencyByAlpha2("HR"); | ||
expect(result).to.equal("EUR"); | ||
}); | ||
it("getCountryByName should be unable to read the prototype", function () { | ||
@@ -274,0 +280,0 @@ expect(clm.getCountryByName("__proto__")).to.equal(undefined) |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
226489
709