caolan / caolan/nodeunit

Setup and Teardown parameter changes type unexpectedly when run via NPM

Open
#149 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.9k
Forks
359
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.