DimiMikadze / create-react-library

React NPM library starter kit based on Facebook's create react app
MIT License
602 stars 60 forks source link

New snapshot was not written. The update flag must be explicitly passed to write a new snapshot #60

Closed MatteoGioioso closed 5 years ago

MatteoGioioso commented 5 years ago

Keep getting this error while testing in CI

New snapshot was not written. The update flag must be explicitly passed to write a new snapshot.
    This is likely because this test is run in a continuous integration (CI) environment in which snapshots are not written by default

My snapshots are in my version control, so they do not need to be written Any reason why this should happen?

Thanks

MatteoGioioso commented 5 years ago

Ok, I found the issue. Wrong snapshot naming, sorry