Please any one describe my following error?

modules.js?hash=ff9589b002aab2c12c57850785e516b644676cdf:4229 Uncaught TypeError: Cannot read property ‘apply’ of undefined
at context.beforeEach.context.setup.Mocha.beforeEach

It is an error with one of the unit tests in Mocha

how can solve this error?

if you are not doing any unit tests, then one of the packages that you are using was causing the error.

Can you post the complete error message?