all-contributors / all-contributors/cli

CLI TEST COVERAGE: missing coverage for running all-contributors init

Ouverte
#409 0 commentaires 2 réactions 0 personnes assignées Voir sur GitHub
dependencies type: enhancement type: tests
Langage dominant
JavaScript
Étoiles
425
Forks
149
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

When upgrading dependencies the tests were passing but it seems like we need a integration set of tests that ensure the cli still runs.

Let's start by creating a test for the all-contributors init. i think we will need to mock the returns for some of the prompts in creating the test. For me, the command failed immediately, and it's failing on the newer versions of yargs. So we should have some integration tests that will help us identify CLI issues.

I opened #408 to pull back yargs but most will have a newer version installed in their envt.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.