caolan / caolan/nodeunit

node 0.9.1, reporters second param config error

Ouverte
#302 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
JavaScript
Étoiles
1.9k
Forks
359
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
javascript, node.js
Domaine
testing
Type d'issue
Bug
Difficulté
3/5
Temps estimé
1-2 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
35/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.