fix(main): avoid Mocha peer-dependency problem