test(ContactEdit): update test cases

This commit is contained in:
chenjiahan
2020-12-15 19:45:45 +08:00
parent 7a2a9eb36d
commit 7bae2ebaba
3 changed files with 104 additions and 77 deletions
@@ -0,0 +1,13 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`should validate contact name before submitting form 1`] = `
<div class="van-field__error-message">
请输入正确的姓名
</div>
`;
exports[`should validate contact tel before submitting form 1`] = `
<div class="van-field__error-message">
请输入正确的手机号
</div>
`;