Sorry, this video is for subscribers only.

Click here to subscribe!

Clean Up the DOM

We start our second DOM test, which exposes a surprise: Unlike JsTestDriver, Testacular doesn’t clean up the DOM for us between test runs. We introduce an afterEach() function to take care of the problem, then turn our attention to ensuring the Raphaël canvas is the correct size.

comments powered by Disqus