jejacks0n / teaspoon

Teaspoon: Javascript test runner for Rails. Use Selenium, BrowserStack, or PhantomJS.
1.43k stars 242 forks source link

Reload window on every jasmine spec in teaspoon #580

Open thebravoman opened 4 years ago

thebravoman commented 4 years ago

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.

mathieujobin commented 3 years ago

if you know of a good way to make it please, please open a PR with your proposed changes

thanks