Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃殌 Feature: Also delete existing Mocha options file in migration, if it exists #1372

Open
2 tasks done
JoshuaKGoldberg opened this issue Mar 7, 2024 · 0 comments
Open
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

Comments

@JoshuaKGoldberg
Copy link
Owner

JoshuaKGoldberg commented Mar 7, 2024

Bug Report Checklist

Overview

Right now, --mode migrate will attempt to delete any existing Jest config file:

...extensions("jest.config", "cjs", "js", "json", "mjs", "ts"),

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

@JoshuaKGoldberg JoshuaKGoldberg added good first issue Good for newcomers, please hop on! type: feature New enhancement or request status: accepting prs Please, send a pull request to resolve this! labels Mar 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

1 participant