Skip to content

Instantly share code, notes, and snippets.

@dariayermolova
Created January 21, 2020 14:17
Show Gist options
  • Save dariayermolova/31eae3a7031d63a98c5c43930b541ef8 to your computer and use it in GitHub Desktop.
Save dariayermolova/31eae3a7031d63a98c5c43930b541ef8 to your computer and use it in GitHub Desktop.
cypress (mock file)
cy.server()
cy.route({
url: '/users?approved=true',
status: 200,
response: 'fixture:empty.user.json'
}).as('approved')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment