Socket
Book a DemoInstallSign in
Socket

@vertexvis/jest-config-vertexvis

Package Overview
Dependencies
Maintainers
4
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vertexvis/jest-config-vertexvis

The shared Vertex configs for Jest

latest
Source
npmnpm
Version
0.5.5
Version published
Maintainers
4
Created
Source

Vertex Jest Configs

This project contains Vertex's sharable Jest config files.

Usage

Add @vertexvis/jest-config-vertexvis as an NPM dev dependency to your project's package.json.

// package.json
{
  "devDependencies": {
    "@vertexvis/jest-config-vertexvis": "0.0.0"
  }
}

Create a jest.config.js file in the root of your project that extends the base Jest configuration file.

// jest.config.js
const jestConfig = require('@vertexvis/jest-config-vertexvis/jest.config');

module.exports = jestConfig;

The Vertex Jest config supports overriding the default TypeScript settings. It will look for an optional tsconfig-jest.json file in the project's root folder.

{
  "extends": "@vertexvis/jest-config-vertexvis/tsconfig",
  "compilerOptions": {
    "allowJs": true
  }
}

FAQs

Package last updated on 06 Sep 2023

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