A jscodeshift
tranformer for migrating tests from mocha to ava
$ npm install --global mocha2ava-codemod
or
$ yarn global add mocha2ava-codemod
$ mocha2ava <path> [options]
path Files or directory to transform. Can be a glob like src/**.test.js
Options
--force, -f Bypass Git safety checks and forcibly run codemods
--dry, -d Dry run (no changes are made to files)