Segui esse tutorialzinho: https://jasmine.github.io/pages/getting_started.html JASMINE FOR NODE.JS porem nao consegui fazer rodar o código, no console aparece:
> jasmine_tests@1.0.0 test d:\arquivos\alura\jasmine_tests
> jasmine
Randomized with seed 01111
Started
F.....
Failures:
1) Maior e Menor deve entender numeros em ordem nao sequencial
Message:
TypeError: MaiorEMenor is not a constructor
Stack:
at <Jasmine>
at UserContext.<anonymous> (d:\arquivos\alura\jasmine_tests\spec\MaiorEMenorSpec.js:6:25)
at <Jasmine>
at runCallback (timers.js:705:18)
at tryOnImmediate (timers.js:676:5)
at processImmediate (timers.js:658:5)
6 specs, 1 failure
Finished in 0.089 seconds
Randomized with seed 01111 (jasmine --random=true --seed=01111)
npm ERR! Test failed. See above for more details.