The Durandal Test Framework runs Jasmine tests within PhantomJS.
Where I'm implementing this for the first time I'm getting a lot of errors, and reading through these on the command prompt is proving to be very tedious.
If I load up the spec.html file in my web browser, it tells me that no specs were found:
Yet PhantomJS is able to find the specs with no problem:
Is there a way I can configure these Jasmine tests to run through my web browser and not through (or as well as) PhantomJS?
I've set up a new index.html
file and have replaced the var runTests = ...
section with a simple require()
call:
require(['../test/specs/system.spec.js']);
Durandal's system.spec.js
file is loaded in the browser, but Jasmine is still stating that no specs were found.
Aucun commentaire:
Enregistrer un commentaire