Open cviejo opened 5 years ago
Just looked into this, mocha creates a copy of the test object for each retry, so the configs set here are lost, or at least not copied to the new object. Can't find a quick and clean solution for this. Feature().retry().config()
works however so for now i'd organize the tests differently
What are you trying to achieve?
Dynamic configs applied to retries as well
What do you get instead?
Dynamic configs are ignored for retries after a test fails
Details