snapshot-diff
snapshot-diff copied to clipboard
Diffing snapshot utility for Jest
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6. Commits 7efb22a 1.2.6 ef88b93 security notice for additional prototype pollution issue c2b9819 isConstructorOrProto adapted from PR bc8ecee test from prototype pollution PR See full...
See #330 for why we want this change. I manually checked the overall change locally by trying the matcher in a separate project: https://github.com/domsli/snapshot-inline-diff-test-app/blob/master/src/App.test.tsx Some things to note on what...
Would be nice to have inline snapshots for this library.
Bumps [@callstack/eslint-config](https://github.com/callstack/eslint-config-callstack) from 10.2.0 to 12.0.2. Release notes Sourced from @callstack/eslint-config's releases. v12.0.1 What's Changed fix: disable no-undef rule in TS files by @jaworek in callstack/eslint-config-callstack#237 chore: remove dependabot by...
Bumps [nth-check](https://github.com/fb55/nth-check) from 2.0.0 to 2.0.1. Release notes Sourced from nth-check's releases. v2.0.1 Fixes: Replace regex with hand-rolled parser for nth-expressions (#9) 9894c1d Ensures parsing will always have linear time...
Bumps [tmpl](https://github.com/daaku/nodejs-tmpl) from 1.0.4 to 1.0.5. Commits See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...
snapshot-diff provides a convenience serializer for React components which renders them and serializes them before diffing. Support is already in place for allowing custom serializers to be added which will...
Currently, the configured jest.config isn't considered when creating snapshots. Therefore, e.g. styled-component serializer is ignored, if configured. Issue #30 is similar, but doesn't consider existing configurations.
I'm using snapshot-diff with the custom serializer: ```js "jest": { "snapshotSerializers": [ "snapshot-diff/serializer.js" ] } ``` ```js expect(initialTemplate).toMatchDiffSnapshot(result, {contextLines: 3}); ``` And I'm getting snapshot output like this: ```js exports[`Template...
This issue lists Renovate updates and detected dependencies. Read the [Dependency Dashboard](https://docs.renovatebot.com/key-concepts/dashboard/) docs to learn more. ## Open These updates have all been created already. Click a checkbox below to...