jest-flow-transform

Custom jest transformer to remove flow type annotations


Keywords
jest, flow, transform, transformer, flowtype, types, test
License
ISC
Install
npm install jest-flow-transform@1.0.1

Documentation

Jest Flow Transform

A transformer for jest that removes flow type annotations from JavaScript files.

Usage

Add as a transformer in your package.json (See Jest Docs).

{
  "jest": {
    "transform": {
      "^.+\\.js(?:\\.flow)?$": "jest-flow-transform"
    }
  }
}