jest-preset-ngx

0.1.10 • Public • Published

jest-preset-ngx

jest preset to run angular specs within jsdom and improved coverage accuracy. The preset ist about 3 times faster as run with ts-jest, because TypeScript code ist transpiled directly and not run through Babel. Additionally the outputted JS is patched for accurate istanbul coverage.

Installation

npm i -D jest-preset-ngx

Usage

Edit your jest configuration like:

{
    "preset": "jest-preset-ngx"
}

Resources

License

MIT

Package Sidebar

Install

npm i jest-preset-ngx

Weekly Downloads

0

Version

0.1.10

License

MIT

Unpacked Size

6.6 kB

Total Files

9

Last publish

Collaborators

  • 100hz