Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
apps/mis-server/tests/charging/charging.test.ts
的concurrently pays
中,增加充值记录后查询新增的充值记录的endTime设置为当前时间往后一天,确保能获取到最新的记录toBeTruthy()
或者toBeFalsy()
。因为当前配置下修改Entity的boolean属性后,重新读取出来的entity的这个属性为1
或者0
。无法重现这个问题。但是由于一般使用boolean字段都是使用是否为truthy值(包括true/1)来使用,一般不会主动判断是否=== true/false
来使用,所以对业务逻辑影响不大。--forceExit
强制退出jest进程,暂时忽略仍有后台线程的情况。IdentifiableReference
改为Reference