New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@gasket/plugin-jest

Package Overview
Dependencies
Maintainers
8
Versions
143
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gasket/plugin-jest

Integrated jest into your application.

  • 7.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
54
decreased by-64.47%
Maintainers
8
Weekly downloads
 
Created
Source

@gasket/plugin-jest

Creates a jest with enzyme based testing environment for your Gasket application.

Installation

This plugin is only used by presets for create-gasket-app and is not installed for apps.

Usage

When you create a new Gasket application that is configured with the jest plugin it will prepare it with a jest based testing environment. It will add the following scripts to the package.json:

  • npm test, Runs the files matching default jest glob pattern, i.e. includes files from tests folder and all *.test.js or *.spec.js files.
  • npm run test:watch Same as npm test but now watches your tests and automatically re-runs the tests when changes are detected.
  • npm run test:coverage Same as npm test, but generates coverage information for all the files matching the collectCoverageFrom pattern in jest.config.js file.

enzyme is included with this plugin, which makes it easier to assert, manipulate, and traverse your React Components.

License

MIT

Keywords

FAQs

Package last updated on 23 Jan 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc