var testResource = require('../../../test_resource'),
    minifyJsString = require('../../../../lib/minify/minify_js_string.js');

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

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


exports['Minify js string.'] = function (test) {
    minifyJsString('(function(){var foo="1";\n\tconsole.log(foo);})();', function (err, minified) {
        test.ifError(err);
        test.ok(minified);
        test.done();
    });
};