Skip to content
This repository was archived by the owner on Mar 5, 2022. It is now read-only.

Commit 0e2a699

Browse files
committed
update xhr test a little
1 parent 7ba50de commit 0e2a699

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cypress/component/component tests/basic/network/users-spec.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ context('Users', () => {
2828
cy.wait('@users')
2929
.its('response.body')
3030
.should('have.length', 3)
31+
.its('0')
32+
.should('include.keys', ['id', 'name', 'username', 'email'])
3133
})
3234

3335
it('can display mock XHR response', () => {

0 commit comments

Comments
 (0)