1.0.1 • Published 1 year ago

@jameslnewell/jest-preset-node v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@jameslnewell/jest-preset-node

A Jest preset according to my preferences.

Installation

npm install --dev jest @types/jest @jameslnewell/jest-preset-node

Usage

Add the following configuration to your package.json:

{
  "jest": {
    "preset": "@jameslnewell/jest-preset-node"
  },
  "scripts": {
    "test": "jest --selectProjects unit", 
    "test:e2e": "jest --selectProjects e2e" 
  }
}

Configure a .swcrc to start transpiling code.