Questions tagged [jasmine-ts]

`npm` package for simplification of running `jasmine` javascript framework with `ts-node`.

This npm package helps run jasmine projects with typestrong nodes

package reference : https://www.npmjs.com/package/jasmine-ts

4 questions
7
votes
3 answers

Jasmine-ts throwing an error about package subpath

I'm starting on a jasmine unit testing path and I'm having issues trying to execute jasmine and finding my ts written specs. I have jasmine-ts and I just run the usual jasmine-ts --config=spec/support/jasmine.json the above line is executed after I…
gdubs
  • 2,724
  • 9
  • 55
  • 102
4
votes
3 answers

How can I get jasmine-ts to execute my specs with a specific seed?

I am running unit tests using jasmine-ts version 0.3.0. The previous version worked fine, but the moment I upgraded, I'd get the output: No specs found I found a github issue (and this one) where someone commented: All arguments passed to…
pushkin
  • 9,575
  • 15
  • 51
  • 95
2
votes
1 answer

yarn test fails with jasmine-ts yargs dependency

I am running yarn test to run my tests. I had to update some versions in my package.json file beforehand, so I deleted the yarn.lock file. Before removing the yarn.lock file, the tests pass just fine. Now, the tests fail with this error: TypeError:…
johnny_mac
  • 1,801
  • 3
  • 20
  • 48
1
vote
1 answer

How to solve "Error: package subpath.." while using jasmine-ts?

I'm running a nodejs project with jasmine and jasmine-ts i get these errors when i try to run my tests Error: Package subpath './lib/command' is not defined by "exports" in D:\Projects - Abzo\Project 2\node_modules\jasmine\package.json at new…
Abdel-Rahman
  • 539
  • 5
  • 19