https://cypress.io logo
`fs.readFile()` isn't available in the browser (wh...
# best-practices
f
fs.readFile()
isn't available in the browser (where Cypress is run). The
cy.readFile()
api will help you to achieve this