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
Must.prototyp.assert generates a message that reads '${stringify(this.actual)} must …'.
When the actual is a Promise, this produces the less informative representation '{}'.
To add insult to injury, in Node 0.10, it produces something like '{"_40": 2, "_70": null …}'. These 'numeric' properties are presumably some sort of Promise administration in Node 0.10.
What would be a good way to represent a Promise as actual?
The text was updated successfully, but these errors were encountered:
Must.prototyp.assert generates a message that reads
'${stringify(this.actual)} must …'
.When the actual is a Promise, this produces the less informative representation
'{}'
.To add insult to injury, in Node 0.10, it produces something like
'{"_40": 2, "_70": null …}'
. These 'numeric' properties are presumably some sort of Promise administration in Node 0.10.What would be a good way to represent a Promise as actual?
The text was updated successfully, but these errors were encountered: