Using teaspoon and jasmine to test some JS. The js is putting things in 'window'.
I think there should be a way to completely reload the page for every spec so that this 'window' is newly initialized and to receive a new 'on document load', but I can not find it in the code or in the documentation.
Using teaspoon and jasmine to test some JS. The js is putting things in 'window'.
I think there should be a way to completely reload the page for every spec so that this 'window' is newly initialized and to receive a new 'on document load', but I can not find it in the code or in the documentation.