New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

@lcdev/jest

Package Overview
Dependencies
Maintainers
3
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lcdev/jest

Jest config for Launchcode

latest
npmnpm
Version
0.4.1
Version published
Weekly downloads
111
91.38%
Maintainers
3
Weekly downloads
 
Created
Source

Jest

Common jest configuration items for packages and services.

yarn add @lcdev/jest@VERSION

Add to your package.json:

  "jest": {
    "preset": "@lcdev/jest"
  }

This package enables support for typescript and other common config items. You may need more than just the preset for more complex environments.

For example, you may want moduleNameMapper for @/components/Button style imports:

  "jest": {
    "preset": "@lcdev/jest",
    "moduleNameMapper": {
      "^@/(.*)$": "<rootDir>/src/$1"
    }
  }

We don't support enzyme or similar environments out of the box, but there are some example projects. Further documentation is needed.

FAQs

Package last updated on 07 Jun 2021

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