mardi 26 avril 2016

Javascript testng - "make time faster"

I am trying to create a test for my javascript library which makes DOM manipulations over some time.

I am looking for a way to "travel in time" with the running of the javascript, without making changes to the library itself, in order to see how the library will act in an hour period, with a test that takes up only miliseconds.

Is anything like that possible on js?

Aucun commentaire:

Enregistrer un commentaire