Testy / TestyTs

✔️ Modern TypeScript testing framework.
http://testy.github.io
ISC License
123 stars 8 forks source link

Global timeout definition #57

Closed gp-slick-coder closed 3 years ago

gp-slick-coder commented 3 years ago

Hey, would be cool if we can define a global timeout. This would be great especially testing with puppeteer or playwright.

image

Aboisier commented 3 years ago

Good suggestion, I'll definitely implement that soon!

Aboisier commented 3 years ago

I've been working on an implementation, it is available in version 2.0.0-beta. I have to do a bit more testing because it required a a refactoring in order to bring the config info all the way to the tests. Let me know if you get the chance to test it!

Aboisier commented 3 years ago

Thanks for the suggestion! I've implemented it (#60) and published it. The latest version of the vscode test explorer extension is also compatible with this new feature.

gp-slick-coder commented 3 years ago

I've tested it and everything is working as expected. Thanks a lot!