Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@theholocron/jest-config

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@theholocron/jest-config

A Jest preset for testing code within the Galaxy.

  • 3.5.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Jest Preset

A Jest preset for testing code within the Galaxy.

Installation

npm install --save-dev @theholocron/jest-preset

Usage

In your project package.json add the following:

{
	"jest": {
		"displayName": "<project>",
		"preset": "@theholocron/jest-config"
	}
}

How We Test

Currently we use Jest for our testing framework. There isn't much to our configuration that differs from what Jest provides out of the box with the following exceptions:

  • Coverage: we enforce coverage collection and require that all work be covered at least 80% at this time, with negligible reduction (< 1%) of coverage per PR
  • Directory Naming: while we do support the same regex that Jest provides, our convention is to co-locate all test files as close to the source as possible with the suffix of .test added.

FAQs

Package last updated on 30 Oct 2024

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