DEV Community

Thiago
Thiago

Posted on

Should I commit my snapshot folder tests?

The answer is YES: according to with jest documentation:

"all snapshot files should be committed alongside the modules they are covering and their tests"

https://jestjs.io/docs/snapshot-testing

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs