-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cy.writeFile should resolve to null #2466
Labels
type: breaking change
Requires a new major release version
Comments
This was referenced Nov 6, 2018
Merged
31 tasks
chrisbreiding
pushed a commit
that referenced
this issue
Dec 3, 2018
- Fixes #2466 - [Docs PR](cypress-io/cypress-documentation#1117) Should be part of 4.0.0
The code for this is complete but has not yet been released. It will be released in 4.0. |
chrisbreiding
pushed a commit
that referenced
this issue
May 21, 2019
- Fixes #2466 - [Docs PR](cypress-io/cypress-documentation#1117) Should be part of 4.0.0
Released in This comment thread has been locked. If you are still experiencing this issue after upgrading to |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Currently,
cy.writeFile
return the contents written to the file, which is not the same behavior as fs. In the case of appends, it yields only what was appended and not the entire file.It should return null, to align with libraries with similar functionality.
The text was updated successfully, but these errors were encountered: