123456789101112 |
- export default function(qunit, $, Inputmask) {
- qunit.module("jquery.inputmask plugin");
- qunit.test("", function(assert) {
- var $fixture = $("#qunit-fixture");
- $fixture.append('<input type="text" id="testmask" />');
- $("#testmask").inputmask({"mask": "99-9999-99"});
- $("#testmask").focus();
- assert.equal($("#testmask")[0].inputmask._valueGet(), "__-____-__", "Result " + $("#testmask")[0].inputmask._valueGet());
- });
- };
|