all-contributors / all-contributors/cli

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

Đang mở
#409 0 bình luận 2 reaction 0 người được giao Xem trên GitHub
dependencies type: enhancement type: tests
Ngôn ngữ chính
JavaScript
Star
425
Fork
149
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.