Avoid mocha deprecation warning when running cucumber features.

This was inadvertently introduced in
da7e54bc45a76075f79ab0e4082517c77f9c593b.