@aurelia/babel-jest

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![TypeScript](https://img.shields.io/badge/%3C%2F%3E-TypeScript-%230074c1.svg)](http://www.typescriptlang.org/) [![CircleCI](https://circleci.com/

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
@aurelia/babel-jest
1,2261182.0.0-alpha.413 days ago2 years agoMinified + gzip package size for @aurelia/babel-jest in KB

Readme

License: MIT TypeScript CircleCI npm
@aurelia/babel-jest

Installing

For the latest stable version:
npm i -D @aurelia/babel-jest

For our nightly builds:
npm i -D @aurelia/babel-jest@dev

Usage

In jest.config.js or package.json:
"transform": {
  "\\.(js|html)$": "@aurelia/babel-jest"
}

Use ShadowDOM:
"transform": {
  "\\.(js|html)$": ["@aurelia/babel-jest", { defaultShadowOptions: { mode: 'open' } }]
}

Use CSS Modules:
"transform": {
  "\\.(js|html)$": ["@aurelia/babel-jest", { useCSSModule: true }]
}