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

Handle different name in multiple snapshots per test #20

Closed bahmutov closed 7 years ago

bahmutov commented 7 years ago

If the user picks different name and has multiple snapshots

const value = require('snap-shot')
it('multiple values', () => {
  value('foo')
  value('bar')
  value('baz')
})