Alex C asks… I notice that the “this.timeout” code is duplicated across the before and test suite. This seems mentally uncomfortable to me and the logical question is: “Why duplicate code that is in a before method?” Right now, the only thing I can think would be an explanation is “because it’s just a workaround to […]

Leia mais em https://watirmelon.com/2016/05/18/ama-mocha-this-timeout-duplication/