mhevery / jasmine-node

Integration of Jasmine Spec framework with Node.js
MIT License
1.52k stars 291 forks source link

Can't run jasmin-node with node-parameters in windows. #399

Open schorsch3000 opened 8 years ago

schorsch3000 commented 8 years ago

Hi, at first: i'm not quite sure if by bugreport belongs here, but maybe you can help me out to address it right. i'Ve a project that needs to be run with --harmony-proxies, therefore my tests need that parameter too.

On linux or osx im fine with

node --harmony-proxies node_modules/.bin/jasmine-node spec

on windows there is node_modules/.bin/jasmine-node.cmd there is no way to give nodeparameter to it, nor can is call it with node. what i do is:

node --harmony-proxies node_modules/jasmine-node/lib/jasmine-node/cli.js spec/

but that ignores the whole bin-thing, i need to fix that test-command if jasmine-node internally changes.

So, if that .cmd file is delivery from you, count this bug-report as a bug-report. If not, who does creates this file, npm itself?