@vertexvis/jest-config-vertexvis

0.5.5 • Public • Published

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
  }
}

Readme

Keywords

none

Package Sidebar

Install

npm i @vertexvis/jest-config-vertexvis

Weekly Downloads

119

Version

0.5.5

License

MIT

Unpacked Size

7.88 kB

Total Files

8

Last publish

Collaborators

  • danschultz-vertex
  • jdm717
  • joshskinner-vertex
  • ci-vertex