Skip to content

Commit

Permalink
test: fix fieldCleave tests
Browse files Browse the repository at this point in the history
  • Loading branch information
icebob committed Dec 7, 2016
1 parent b240183 commit caae630
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/unit/specs/fields/fieldCleave.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ function createField(test, schema = {}, model = null, disabled = false, options)
[ el, vm, field ] = createVueField(test, "fieldCleave", schema, model, disabled, options);
}

describe.skip("fieldCleave.vue", function() {
describe("fieldCleave.vue", function() {

describe("check template", () => {
let schema = {
Expand Down Expand Up @@ -84,7 +84,7 @@ describe.skip("fieldCleave.vue", function() {
it("should be formatted data in model", (done) => {
field.cleave.setRawValue("301234567");
expect(input.value).to.be.equal("30 123 4567");
trigger(input, "change");
trigger(input, "input");

vm.$nextTick( () => {
expect(model.phone).to.be.equal("30 123 4567");
Expand Down

0 comments on commit caae630

Please sign in to comment.