Closed its-saeed closed 1 year ago
It was hard to expect Bool or Option values in events, but it isn't anymore! ;D
Bool
Option
Here is how a boolean value looks like in the logs:
- "value": { - "argtypes": [] - "arguments": [] - "constructor": "False" - } - "vname": "b"
No it's translated to something like:
{ "type": "Bool", "value": false, "vname": "b" }
way easier to match using chai matchers.
It was hard to expect
Bool
orOption
values in events, but it isn't anymore! ;DHere is how a boolean value looks like in the logs:
No it's translated to something like:
way easier to match using chai matchers.