You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With your code, I am able to reproduce the bug, and it's related to the FileBox.fromJSON() method.
Here's the minimum reproducible code for FileBox:
test('message file test',asynct=>{constJSON_TEXT='{"metadata":{},"name":"smoke-testing.ts","size":735,"type":7,"uuid":"82f461b9-e654-422d-aade-222d05cb02ad","boxType":7}'constFileBoxUuid=uuidifyFileBoxGrpc(()=>({}asany))constfileBoxUuid=FileBoxUuid.fromJSON(JSON_TEXT)t.equal(instanceToClass(fileBoxUuid,FileBox),FileBoxUuid,'should get back FileBoxUuid class')})
Thanks for your unit test; it's very helpful.
With your code, I am able to reproduce the bug, and it's related to the
FileBox.fromJSON()
method.Here's the minimum reproducible code for FileBox:
Originally posted by @huan in wechaty/puppet-service#206 (comment)
The text was updated successfully, but these errors were encountered: