🚀 Feature: Also remove existing "mocha" package.json field #1374
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
#1372 tracks deleting any existing Mocha options file in a migration... but Mocha can alternately be configured with a
"mocha"
key in thepackage.json
of a project. Let's have migration also delete that"mocha"
in thepackage.json
if it exists.Additional Info
The logic to remove existing unnecessary fields in a
package.json
is around here:create-typescript-app/src/steps/writing/creation/writePackageJson.ts
Lines 55 to 59 in c5cac23
Similar issue for Jest: #1372
The text was updated successfully, but these errors were encountered: