🚀 Feature: Also delete existing Mocha options file in migration, if it exists #1372
Closed
2 tasks done
Labels
good first issue
Good for newcomers, please hop on!
status: accepting prs
Please, send a pull request to resolve this!
type: feature
New enhancement or request
Bug Report Checklist
main
branch of the repository.Overview
Right now,
--mode migrate
will attempt to delete any existing Jest config file:create-typescript-app/src/steps/clearUnnecessaryFiles.ts
Line 9 in 592b0c8
Fun fact: the venerable Mocha test framework has config file support too! https://mochajs.org/#configuring-mocha-nodejs
Let's have files like
.mocharc.js
,.mocharc.yml
, etc. be removed during migration too.Additional Info
Other test frameworks -Ava, QUnit, etc.- could be migrated too. I'd welcome anybody using those to file a new issue requesting that as a feature.
Similar issue for Mocha: #1374
The text was updated successfully, but these errors were encountered: