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

jest-preset-beemo

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jest-preset-beemo

Jest preset for Beemo configured projects.

  • 2.2.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

jest-preset-beemo

Build Status npm version npm deps

A modern TypeScript-only Jest preset. Provides code coverage and performance out of the box.

yarn install --dev jest-preset-beemo

Setup

Add the preset to your root jest.config.js.

module.exports = {
	preset: 'jest-preset-beemo',
};

Features

  • Configured for Node.js environments.
  • Defines an empty file mock for non-TS files (like CSS).
  • Requires 90% code coverage of all source files.
  • Improved performance through the Jest Circus runner.
  • Supports __DEV__ and __PROD__ globals.

Requirements

  • Source files must be located in a src folder.
  • Tests files must end in *.test.* and be located within a tests or __tests__ folder.
  • Includes a setup file at <rootDir>/tests/setup.ts (if exists).
  • Relies on Babel, the TypeScript plugin, and the default babel-jest package.

Keywords

FAQs

Package last updated on 24 Jul 2022

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