Hi
the main thing holding me back from using buster on my current project is windows support, so I thought I might as well give a hand.
- installed node.js (v. 0.8.6)
- checked out buster-dev-tools (from https://github.com/busterjs/buster-dev-tools.git)
- set up NODE_PATH and PATH as per the instructions
- ran buster-dev-tools pull, and got an error because there is no underscore 0.4.x
- fixed referee/package.json to reference lodash rather than underscore
- ran buster-dev-tools pull again
so far, so good (except for the lodash thing - did I miss something obvious?). Now, for some test running
buster>cd buster-configuration
buster-configuration>node test\buster-configuration-test.js
And now I get 4 errors : two instaces each of
- TypeError: Object buster.assert has no method 'calledWith'
- TypeError: Object buster.assert has no method 'calledOnceWith'
sprinkling a few console.logs throw the code, it appears that
- buster-sinon.js is actually called
- seen from within buster-sinon, it does add the methods 'calledWith' and 'calledOnceWith' to buster.assert.assert and buster.assert.refute
- however, seen from the outside (say, from buster-wiring.js), buster.assert.assert and buster.assert.refute do not appear to have the new methods after buster-sinon is required
Is this some new node.js feature? A kind of insulation layer to prevent modules from poking each other?
or is this some winows specific problem that needs correcting?
ooooor is this some stupid newbie mistake I'm making?
Any help appreciated, I hope I can pay it back some time later by contributing windows fixes
--
Frederic Merizen
..........................................................
50, Avenue des Champs-Elysées
75008 Paris