https://cypress.io logo
ow are these 2 not equal? ``` expected [ 'receipt'...
# e2e-testing
h
ow are these 2 not equal?
Copy code
expected [ 'receipt', 'invoice' ] to equal [ 'receipt', 'invoice' ]
This seems to work:
Copy code
expect(data.request.body.document_types[0]).to.eq('receipt');
expect(data.request.body.document_types[1]).to.eq('invoice');