//makes the bdd interface available (describe, it before, after, etc
if(Meteor.settings.public.mocha_setup_args) {
    mocha.setup(Meteor.settings.public.mocha_setup_args);
} else {
    mocha.setup("bdd");
}

//makes the bdd interface available (describe, it before, after, etc
if(Meteor.settings && Meteor.settings.public.mocha_setup_args) {
    mocha.setup(Meteor.settings.public.mocha_setup_args);
} else {
    mocha.setup("bdd");
}

Fix for when Mocha.settings are not available
Fix for when Mocha.settings are not available
