最佳答案
I'm using mocha for javascript unit-testing now.
I have several test files, each file has a before and beforeEach, but they are exactly the same.
How do I provide a global before and beforeEach for all of them (or some of them)?