Skip to content

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

Merged
JackLian merged 2 commits intodevelopfrom
fix/loopArgs
Mar 17, 2022
Merged

fix: prop should return undefined when all items are undefined#141
JackLian merged 2 commits intodevelopfrom
fix/loopArgs

Conversation

@LeoYuan
Copy link
Copy Markdown
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
Copy Markdown
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.

2 participants