jejacks0n / teaspoon

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

Not deferring code: setTimeout(Teaspoon.execute, 100000); #565

Open joshm1204 opened 5 years ago

joshm1204 commented 5 years ago

My assumption is that Teaspoon.defer = true; stops the code from executing and starts after 100 second with setTimeout(Teaspoon.execute, 100000);

However, I do not see my code slow down at all. What am I doing wrong, or is it a bug?

Teaspoon.defer = true; setTimeout(Teaspoon.execute, 100000); // defers execution for 100 second

mathieujobin commented 3 years ago

did you figure it out ?