Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: prop should return undefined when all items are undefined #141

Merged
merged 2 commits into from
Mar 17, 2022

Conversation

LeoYuan
Copy link
Contributor

@LeoYuan LeoYuan commented Mar 17, 2022

No description provided.

@LeoYuan LeoYuan requested a review from JackLian as a code owner March 17, 2022 03:06
@LeoYuan
Copy link
Contributor Author

LeoYuan commented Mar 17, 2022

注意:因为引擎中的节点会引用各种模型,在 jest 的对象比对序列化很容易造成死循环。
以后 toHaveBeenCalledWith 在使用对象时,要特别注意这个点(假如对象的引用一致,则直接判定相等,若引用不一致,则触发序列化)~

@JackLian JackLian merged commit d4de1cc into develop Mar 17, 2022
@JackLian JackLian deleted the fix/loopArgs branch March 17, 2022 10:40
@liujuping liujuping changed the title Fix/loop args fix: prop should return undefined when all items are undefined Apr 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants