country-flag-icons
Version:
Vector (*.svg) country flag icons in 3x2 aspect ratio.
13 lines (10 loc) • 437 B
JavaScript
var _hasFlag = _interopRequireDefault(require("./hasFlag.js"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
describe('hasFlag', function () {
it('should return whether a flag icon exists', function () {
(0, _hasFlag["default"])('RU').should.equal(true);
(0, _hasFlag["default"])('ZZ').should.equal(false);
});
});
//# sourceMappingURL=hasFlag.test.js.map
;