all-contributors / all-contributors/cli

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

オープン
#409 コメント 0 件 リアクション 2 件 担当者 0 名 GitHub で見る
dependencies type: enhancement type: tests
主要言語
JavaScript
スター
425
フォーク
149
PR マージ指標
30日以内にマージされた PR はありません

説明

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.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。