How to timeout a scenario?

Hi,

I have CodeceptJS version 2.3.1. I tried to implement timeout according to this. Neither the scenario nor the feature timed out. Do you have any work arounds for this?

Thanks!