Skip to content

Fix vue3 jest failure

Kun Qian请求将fix-vue3-jest-failure合并到main-jh

What does this MR do and why?

closes #2754 (closed)

Fix vue3 jest failure

Fix 'jh/spec/frontend/pages/password/phone_code_verification_spec.js'

for...of... would throw error _args$.includes is not a function, Error: Caught error after test environment was torn down somehow, here changes it to a equal for...in, and removes some redundant code

Screenshots or screen recordings

How to set up and validate locally

env VUE_VERSION=3 yarn run jest 'jh/spec/frontend/pages/password/phone_code_verification_spec.js'

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Kun Qian 编辑于

合并请求报告