vendredi 2 mars 2018

Run Jasmine Tests Synchronously

I'm using Karma/Jasmine to run many spec files. My tests make use of some global functions. Some tests mock up the global functions, which other tests depend on. Since the tests are being run asynchronously, some tests fail since the expected behaviour of the global functions is changed by other tests.

Is there a way to run the tests synchronously?

Aucun commentaire:

Enregistrer un commentaire