update mocha defs