wdio-mocha-framework: add mocha error in type DSL (#4127)
wdio-mocha-framework: add mocha error in type DSL (#4127)

* wdio-mocha-framework: add mocha error in type DSL

* typings: add mocha error in type DSL

Fix format

* typings: add mocha error in type DSL

Fix a bug.

webdriverio/webdriverio,webdriverio/webdriverio,webdriverio/webdriverio