input-format
Version:
Formatting user's text input on-the-fly
12 lines (9 loc) • 310 B
JavaScript
var _chai = require("chai");
var _helpers = require("./helpers.js");
describe("helpers", function () {
it("should count occurences", function () {
(0, _chai.expect)((0, _helpers.count_occurences)('x', 'x (xxx) xxx-xx-xx')).to.equal(11);
});
});
//# sourceMappingURL=helpers.test.js.map
;