all-contributors / all-contributors/cli

tests: add tests to addContribution

未关闭
#439 4 条评论 0 个 reaction 已指派 1 人 已被 @jdalrymple 认领 在 GitHub 查看
type: tests
主要语言
JavaScript
星标
425
派生
149
PR 合并指标
30 天内没有已合并 PR

描述

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.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。