all-contributors / all-contributors/cli

tests: add tests to addContribution

Aperta
#439 4 commenti 0 reazioni 1 assegnatario Rivendicata da @jdalrymple Vedi su GitHub
type: tests
Lingua principale
JavaScript
Stelle
425
Fork
149
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.