I am trying jasmine for the first time, and following the getting started and write your first suite tutorials, I ended up with the following result:
> jasmine
Randomized with seed 22331
Started
.
1 spec, 0 failures
Finished in 0.007 seconds
Randomized with seed 22331 (jasmine --random=true --seed=22331)
For a config generated from jasmine init and the following spec file:
describe('ctlfetch wrapper', () => {
it('contains a spec with expectation', () => {
expect(true).toBe(true)
})
})
I installed jasmine with npm i -D jasmine and got the 3.5.0 version, over node 12.10.0.
I run it through the package.json script: "test": "jasmine"
It seems it runs correctly, just not outputing things.
Aucun commentaire:
Enregistrer un commentaire