caolan / caolan/nodeunit

node 0.9.1, reporters second param config error

Đang mở
#302 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
JavaScript
Star
1.9k
Fork
359
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

## example code

`
var reporter = require('nodeunit').reporters.html;
reporter.run(path, secondparam);
`
- the 'secondparam' must config testSpec and testFullSpec , otherwise lead to a undefined error, but not all the reporters have the bug nodeunit version 0.9.1;

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

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

Start at the HTML reporter entry point shown in the example, reporter.run(path, secondparam), and compare how its second parameter is handled with the other reporters. Reproduce the undefined error using nodeunit 0.9.1 and verify that configurations containing testSpec and testFullSpec work without breaking reporters that do not have the issue.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
javascript, node.js
Lĩnh vực
testing
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
35/100

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.