Resolve issue with Firebase module blocking mocha exit