In QUnit you can use modules to define pre- and post- test case callback functions. You can use these to make sure the state of the watch is identical before and after each test case. This is important for repeatability of cases and writing atomic tests.
In QUnit you can use modules to define pre- and post- test case callback functions. You can use these to make sure the state of the watch is identical before and after each test case. This is important for repeatability of cases and writing atomic tests.