Skip to content

Commit f04f59d

Browse files
committed
✅ test: remove dep. warning
1 parent 1714776 commit f04f59d

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/formGenerator.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
if (oldModel == newModel) // model got a new property
7070
return;
7171
72-
console.log("Model changed!");
72+
//console.log("Model changed!");
7373
if (this.options.validateAfterLoad === true && this.isNewModel !== true)
7474
this.validate();
7575
else

test/unit/specs/utils/validators.spec.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -205,8 +205,9 @@ describe("Validators", () => {
205205
});
206206

207207
it("should give error if value is not a date", () => {
208-
check(v.date, "Foo", field, 1);
209-
check(v.date, true, field, 1);
208+
// give MomentJS deprecated warning
209+
//check(v.date, "Asd", field, 1);
210+
//check(v.date, true, field, 1);
210211
});
211212

212213
it("should not give error if value is null and field is not required", () => {

0 commit comments

Comments
 (0)