/** @overview nodeunit test case. */

var testResource = require('../../../test_resource'),
    runMocha = require('../../../../ci/worker/run_mocha.js');

exports.setUp = function (done) {
    done();
};

exports.tearDown = function (done) {
    done();
};


exports['Run mocha.'] = function (test) {
    var testFile = testResource.resolveMockFile('mock-mocha-test.js');
    runMocha({
        files: [testFile]
    }, function (err) {
        test.ifError(err);
        test.done();
    });
};