@webilix/helper-library
Version:
JavaScript/TypeScript programming helper library.
10 lines • 647 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const shared_1 = require("../../lib/shared");
const _1 = require("./_");
const valid = ['#012', '#345678', '#9ABCDE', '#F60', '#FF6600', '#abcdef'];
const invalid = ['123', '123456', '#1', '#12', '#1234', '#12345', '#1234567', '#GHIJKL'];
(0, _1.testVerify)('HEX_COLOR', shared_1.regexpHexColor, valid, invalid);
(0, _1.testFind)('HEX_COLOR', shared_1.regexpHexColor, valid, ['123', '123456', '#1', '#12', '#GHIJKL']);
(0, _1.testReplace)('HEX_COLOR', shared_1.regexpHexColor, valid, ['123', '123456', '#1', '#12', '#GHIJKL']);
//# sourceMappingURL=hex-color.test.js.map