Hello I was confused because of it’s chai’s assertions:
My code:
In Chai’s documentation I see:
The following are provided as chainable getters to improve the readability of your assertions.
Chains
to
So i was thinking i can skip .to chain without loosing anythig, why it doesn’t work without this chain?