joost-de-vries / sbt-jasmine

An sbt plugin for running Jasmine tests

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Why limit tests to the ones that originally came from test sources?

KaiStapel opened this issue · comments

// Find the test files to run. These need to be in the test assets target directory, however we only want to

My problem is that I have a typescript spec some.spec.ts that gets compiled to JS in the target folder some.spec.js. However, the test does not get executed because the JS file did not originally come from the src folder.

Why this limitation? Can't you at least include those files that are present in the src folder but have a different file ending .ts to .js?

Never mind. It looks like I have some configuration problem that prevents the ts specs from running. I just saw that the ts spec in https://github.com/joost-de-vries/play-angular-typescript.g8/blob/master/src/main/g8/test/assets/hero.spec.ts runs just fine.

Sorry.