How can I run unit tests to custom extensions?

I see @types/mocha being used! Can I know how to run those tests. I’ve added enough tests. I have added unit tests but not sure how to run them.

[original thread by Karthik Bhat K]

yarn mocha …/glob/to/yout/test/files

please have a look at Mocha docs and at package json scripts in Theia repo