jubianchi / atoum.js

The modern, simple and intuitive PHP 5.3+ unit testing framework, now for JS
http://jubianchi.fr/atoum.js
16 stars 3 forks source link

Impossible to display help #1

Closed marmotz closed 11 years ago

marmotz commented 11 years ago
./node_modules/atoum.js/bin/atoum -h
[TypeError] Converting circular structure to JSON
TypeError: Converting circular structure to JSON
    at Object.stringify (native)
    at /media/data/dev/LSDManager/node_modules/atoum.js/node_modules/optimist/index.js:253:43
    at Array.forEach (native)
    at Object.Argv.self.help (/media/data/dev/LSDManager/node_modules/atoum.js/node_modules/optimist/index.js:218:14)
    at Object.Argv.self.showHelp (/media/data/dev/LSDManager/node_modules/atoum.js/node_modules/optimist/index.js:180:17)
    at fail (/media/data/dev/LSDManager/node_modules/atoum.js/node_modules/optimist/index.js:115:14)
    at /media/data/dev/LSDManager/node_modules/atoum.js/node_modules/optimist/index.js:312:17
    at Array.forEach (native)
    at parseArgs (/media/data/dev/LSDManager/node_modules/atoum.js/node_modules/optimist/index.js:305:16)
    at Object.Argv.Object.defineProperty.get [as argv] (/media/data/dev/LSDManager/node_modules/atoum.js/node_modules/optimist/index.js:282:36)
jubianchi commented 11 years ago

Weird!

This only happens when running atoum.js from the node_modules directory. I'll try to find why...