busterjs / buster

Abandoned - A powerful suite of automated test tools for JavaScript.
http://docs.busterjs.org
Other
448 stars 37 forks source link

buster-configuration "Arguments to path.resolve must be strings" #363

Closed fatso83 closed 11 years ago

fatso83 commented 11 years ago

I get the aforementioned error string when specifying a config file on the command line

$ buster-test --config ./buster.js 
-c/--config: Error loading configuration ./buster.js
Arguments to path.resolve must be strings

This was more or less straight from the getting started guide, so I wondered what I did wrong, and started digging through the buster module until I got to /usr/local/share/npm/lib/node_modules/buster/node_modules/buster-test-cli/node_modules/buster-cli/node_modules/buster-configuration. I then tried running buster test in this directory and I got 3 test cases, 89 tests, 58 assertions, 1 failure, 22 errors, 22 timeouts.

Something seems to be wrong here ...

I am on

flosse commented 11 years ago

I've got the same issue on

pwlmaciejewski commented 11 years ago

Same here (setup like in post above).

rndevfx commented 11 years ago

This was a problem and is fixed in buster-configuration https://github.com/busterjs/buster-configuration/commit/3b4fe81cf323e6c60d9a067ef4d7afaa2c7f0947 but 0.6 is not in the npm registry. Needs to be updated in buster-cli as well; hard-dependency to 0.5.2.

You can change this in node_modules/buster/node_modules/buster-test-cli/node_modules/buster-cli/node_modules/buster-configuration/lib/buster-configuration.js