@aurelia/ts-jest
v2.0.0-beta.16
Published
[![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
5,364
Readme
@aurelia/ts-jest
Installing
For the latest stable version:
npm i -D @aurelia/ts-jest
For our nightly builds:
npm i -D @aurelia/ts-jest@dev
Usage
In jest.config.js
or package.json
:
"transform": {
"\\.(js|html)$": "@aurelia/ts-jest"
}
Use ShadowDOM:
"transform": {
"\\.(js|html)$": ["@aurelia/ts-jest", { defaultShadowOptions: { mode: 'open' } }]
}
Use CSS Modules:
"transform": {
"\\.(js|html)$": ["@aurelia/ts-jest", { useCSSModule: true }]
}