all-contributors / all-contributors/cli

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

Abierto
#409 0 comentarios 2 reacciones 0 asignados Ver en GitHub
dependencies type: enhancement type: tests
Lenguaje dominante
JavaScript
Estrellas
425
Forks
149
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.