all-contributors / all-contributors/cli

tests: add tests to addContribution

Abierto
#439 4 comentarios 0 reacciones 1 asignado Reclamado por @jdalrymple Ver en GitHub
type: tests
Lenguaje dominante
JavaScript
Estrellas
425
Forks
149
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

In my current pr #438, I started by trying to improve test coverage for the prompt.js file, as the prompts were broken. But this mean i had to make some updates elsewhere as I discovered some bugs.

We also need tests for addContribution. To avoid making that pr huge, let's add the next set of tests (which will require mocks) in a new pr.

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.