Cypress - File Operations
You wrote this code to save JSON data:
But when you read the file, you get a string instead of an object. What is the problem?
cy.writeFile('user.json', '{"name": "Bob", "age": 25}')But when you read the file, you get a string instead of an object. What is the problem?
