snap-shot icon indicating copy to clipboard operation
snap-shot copied to clipboard

Jest-like snapshot feature for the rest of us, works magically by finding the right caller function

Results 18 snap-shot issues
Sort by recently updated
recently updated
newest added

I have this usecase where I would like to store my snapshot(happens automatically). The next time I run the test I would like it to use that snapshot (which is...

question

See [src/async-spec.js](src/async-spec.js) test "promise to snapshot" ```js // async-spec.js const snapshot = require('.') it.only('promise to snapshot (does nothing!)', () => { // straight into snapshot comparison does not work return...

enhancement

Between this module and `schema-shot` https://github.com/bahmutov/schema-shot

To prune all unused / unreachable snapshots

enhancement

There is a difference between callsites, stack exception and `console.trace` ``` // stack-site [ { functionName: 'stackSites', filename: '/node_modules/stack-sites/src/index.js', line: 45, column: 13 }, { functionName: 'snapshot', filename: '/node_modules/snap-shot/src/index.js', line:...

bug

Does not find the right source location if the `snapshot` was used in composition, for example `src/format-spec.js` ```js const compose = (f, g) => x => f(g(x)) const upperCase =...

enhancement

Browser support, Cypress-specific issues

enhancement

To make usable in the browser

enhancement