sandworm-jest
expect-mocha-image-snapshot
Our great sponsors
sandworm-jest | expect-mocha-image-snapshot | |
---|---|---|
6 | 1 | |
17 | 5 | |
- | - | |
10.0 | 4.1 | |
over 1 year ago | 11 days ago | |
JavaScript | JavaScript | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
sandworm-jest
- Security Snapshot Testing Inside Your Jest Test Suite
- GitHub - sandworm-hq/sandworm-jest: Security Snapshot Testing Inside Your Jest Test Suite
-
Easy auditing & sandboxing for your JavaScript dependencies. Fine grained permissions system for npm packages.
Yes, you can use it for security by locking down which dependencies can execute which methods in your app. But you can also use it for auditing and documenting your app's supply chain security profile, then snapshot testing against that using the Jest and Mocha plugins.
expect-mocha-image-snapshot
-
Image Snapshot Testing with Mocha
I started to fiddle around with jest-image-snapshot in combination with expect-mocha-snapshot, and it turned out to be way easier than expected to make it Mocha compatible. I put it into its own NPM package, called expect-mocha-image-snapshot. Usage is pretty similar to Jest, you only have to pass the testing context via this. Here is a quick code sample:
What are some alternatives?
sandworm-mocha - Security Snapshot Testing Inside Your Mocha Test Suite 🪱
jest-image-snapshot - ✨ Jest matcher for image comparisons. Most commonly used for visual regression testing.
trivy - Find vulnerabilities, misconfigurations, secrets, SBOM in containers, Kubernetes, code repositories, clouds and more
simple-to-do - Forked from dfinity/examples/simple-to-do
sandworm-audit - Security & License Compliance For Your App's Dependencies 🪱
mocha-chai-snapshot - Chai hook for capturing snapshots and comparing
Damn-Vulnerable-GraphQL-Application - Damn Vulnerable GraphQL Application is an intentionally vulnerable implementation of Facebook's GraphQL technology, to learn and practice GraphQL Security.
jest - Delightful JavaScript Testing.
cli - Snyk CLI scans and monitors your projects for security vulnerabilities.
Spearmint - Testing, simplified. || An inclusive, accessibility-first GUI for generating clean, semantic Javascript tests in only a few clicks of a button.
jest-expect-message - Add custom message to Jest expects 🃏🗯