bahmutov / snap-shot

Jest-like snapshot feature for the rest of us, works magically by finding the right caller function
169 stars 3 forks source link

support multiple snapshots per test #1

Closed bahmutov closed 7 years ago

bahmutov commented 7 years ago

for example this should keep track of 3 snapshots for single test function "works"

it('works', () => {
  snapshot(10)
  snapshot(20)
  snapshot(30)
})