提交 d126a8e9 编写于 作者: study夏羽's avatar study夏羽

fix:jest bindmobile

上级 86d38864
......@@ -3,4 +3,9 @@ unpackage/
node_modules
.DS_Store
uni_modules_tools/copy
package-lock.json
\ No newline at end of file
package-lock.json
/uni_modules\uni-config-center\uniCloud\cloudfunctions\common\uni-config-center\uni-id\config.json
/manifest.json
/env.js
/jest.config.js
/vue.config.js
......@@ -50,7 +50,8 @@ describe('pages/ucenter/userinfo/bind-mobile/bind-mobile.vue', () => {
await program.redirectTo('/pages/ucenter/login-page/pwd-login/pwd-login')
break;
case 60101:
expect(submitRes.msg).toBe("此手机号已绑定" || "手机号 is already bound")
// expect(submitRes.msg).toBe("此手机号已绑定" || "手机号 is already bound")
expect(submitRes.errCode).toBe("uni-id-account-already-bound")
break;
default:
break;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册