Skip to content

javitonino/cypress-intercept-buffer-bug

 
 

Repository files navigation

Steps to reproduce:

  • Run npm i
  • Run npm start
  • Run "intercept.js" test
  • When both tests done, check an "uploads" folder.

You'll see one 36kb file which is normal image (created after first test run), and second 66kb file which created after intercepting. Second file actually is not an image because of "broken bytes" and cannot be opened in any image viewer. Also, any programmatially manupulations with its buffer will fail because of "incorrect image type".

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 76.8%
  • HTML 17.5%
  • Roff 5.7%