caolan / caolan/nodeunit

Setup and Teardown parameter changes type unexpectedly when run via NPM

Aperta
#149 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
1.9k
Fork
359
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

## Summary

When running `nodeunit test/*-test.js` from the root of a project, the value of the parameter passed to `setUp()` and `tearDown()` is a function. When running the tests via `npm test` the type of the parameter is an object.
## nodeunit Version

0.6.4
## NPM Version

1.1.0-3
## Node.js Version

v0.6.9

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.