javascript - jasmine-node says "0 tests" when there *are* tests -


i expect "1 test", says "0 tests". idea why? on os x.

$ jasmine-node --verbose my.spec.js undefined  finished in 0.001 seconds 0 tests, 0 assertions, 0 failures, 0 skipped  $ cat my.spec.js describe("bar", function() {   it("works", function() {     expect("foo").toequal("foo");   }); });  $ jasmine-node --version 1.11.0   $ npm --version 1.3.5   $ node -v v0.4.12 

even if try create syntax error same output:

$ cat my.spec.js it( $ jasmine-node --verbose --captureexceptions my.spec.js undefined  finished in 0.001 seconds 0 tests, 0 assertions, 0 failures, 0 skipped 

but if try specify file doesn't exist, complains:

$ jasmine-node no.spec.js file: /tmp/no.spec.js missing. 

you should upgrade latest version of nodejs (currently 0.10.15)


Comments

Popular posts from this blog

css - Which browser returns the correct result for getBoundingClientRect of an SVG element? -

gcc - Calling fftR4() in c from assembly -

Function that returns a formatted array in VBA -