Closed BaseMax closed 1 month ago
I was running npm test -- -u
to update the snapshots previously
https://jestjs.io/docs/snapshot-testing#interactive-snapshot-mode
we need to change npm
to bun
.
okay you can add jest --updateSnapshot in action if you think we need it.
You run that locally to update the snapshots.
The snapshots get uploaded to GitHub
Hey @BaseMax I think you mean to replace Jest with Bun ?
I see bun has snapshot testing here:
no we cannot replace jest with bun. jest is for testing and bun is a package manager similar to npm.
for running test in bun we can run: bun test
okay so we can update github action and use bun test --update-snapshots
All fixed now thanks
thanks you