We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f21b73a commit 96aea0cCopy full SHA for 96aea0c
tests/unit/specs/fields/fieldSubmit.spec.js
@@ -66,7 +66,7 @@ describe("fieldSubmit.vue", () => {
66
expect(schema.fieldOptions.onSubmit.calledWith(model, schema)).to.be.true;
67
});
68
69
- it("should call validate if validateBeforeSubmit is true", () => {
+ it("should call validate and onSubmit if validateBeforeSubmit is true", () => {
70
const spyEmit = sinon.spy(wrapper.props().eventBus, "$emit");
71
schema.fieldOptions.validateBeforeSubmit = true;
72
schema.fieldOptions.onSubmit = sinon.spy();
0 commit comments