First of all: THANK YOU for sharing, this is one of the best online resources about the topic, congratulations!!
One question, chapter “Adding Todo”: why do you use a stub to check for the request body?
Your example is
```
cy.wait(“@sync”).then(() => {
expect(reqStub.args[0][0].request.body).to.eql([<PARAMS>]);
});
```
While you could (if I’m not wrong)
```
cy.wait(“@sync”).then(xhr => {
expect(xhr.request.body).to.eql(<PARAMS>)
})
```
avoiding the stub at all?