bun icon indicating copy to clipboard operation
bun copied to clipboard

Add snapshot testing

Open 5d-jh opened this issue 2 years ago • 3 comments

What is the problem this feature would solve?

Jest supports snapshot testing, but Bun does not supports it.

What is the feature you are proposing to solve the problem?

To support running tests that are using snapshot testing.

What alternatives have you considered?

No response

5d-jh avatar Dec 22 '22 06:12 5d-jh

Yeah, we need to do this

Jarred-Sumner avatar Dec 22 '22 06:12 Jarred-Sumner

  • Delta and Simulate testing ?

chrisAXZA avatar Dec 22 '22 17:12 chrisAXZA

Going to pick this up

ethanburrell avatar Dec 30 '22 08:12 ethanburrell

This was implemented, you can now use expect().toMatchSnapshot(). We still need to implement inline snapshots.

Electroid avatar May 26 '23 19:05 Electroid