Skip to content

KwanMan/jest-buble

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jest-buble

Jest plugin to use buble for transformation.

Usage

$ yarn add --dev jest-buble buble

In your package.json:

  "jest": {
    "transform": {
      "^.+\\.js$": "jest-buble"
    }
  }

Configuring buble

Jest doesn't support passing in options to transformers through their config, so you can define a .bublerc JSON file with your buble options:

// .bublerc
{
  "objectAssign": "Object.assign"
}

About

Jest plugin to use babel for transformation.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published