all-contributors / all-contributors/cli

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

Offen
#409 0 Kommentare 2 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
dependencies type: enhancement type: tests
Vorherrschende Sprache
JavaScript
Sterne
425
Forks
149
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.