configure mocha