All Javascript jasmine tests is added to the same testpage

When I try to run a single JavaScript unit test with the jasmine framework, all my JavaScript unit tests is loaded into the same page in chrome.

As you can see in the first screen dump below I have only run one test - but in the browser all my test is shown - and some fails because the files are loaded in random order.

The second screen dump shows how it should look - it still works in an old branch of mine.

Does anyone now what could be wrong?

0
1 comment
Avatar
Permanently deleted user

I found out what was wrong.

In the new branch a _references.js file was added and all the test files was also added to this file. When I removed the test files from _references.js everything worked as they should.

0

Please sign in to leave a comment.