https://cypress.io logo
I'm trying to avoid this kind of nesting: ```javas...
# best-practices
b
I'm trying to avoid this kind of nesting:
Copy code
javascript
      cy.request('GET', myUrl).its('body').then(res => {
        cy.request('GET', res).its('body').then(subRes => {
          cy.request('GET', subRes).its('body').then(subSubRes => {
            expect(subSubRes, myMessage).to.eq(myEvaluation);
          })
        })
      })