@offeringsolutions/nx-karma-to-jest

0.1.3 • Public • Published

Nx Karma To Jest Schematic for Angular Projects

TravisCi build npm (scoped)

commandline usage

Description

This schematic will migrate your Nx Workspace from Karma to Jest. It will scan the workspace, find all projects and lib and update them all including the workspace itself.

Actions

This schematic will

  • Create Jest files inside your project/lib folders
  • Delete Karma files inside your project/lib folders
  • Update testing section for your project/lib in the angular.json file
  • Update the schematic test runner in the angular.json file from karma to jest
  • Create Jest files on root level
  • Delete Karma files on root level
  • Modify package.json (removing Karma deps, adding Jest deps) and install them

Package Sidebar

Install

npm i @offeringsolutions/nx-karma-to-jest

Weekly Downloads

4

Version

0.1.3

License

MIT

Unpacked Size

34.3 kB

Total Files

40

Last publish

Collaborators

  • offeringsolutions