caolan / caolan/nodeunit

node 0.9.1, reporters second param config error

Offen
#302 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
1.9k
Forks
359
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

## 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;

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
javascript, node.js
Bereich
testing
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.