Commit 52554b83 by Adeel

Test: Version info.

It is probably the most lame test! Added to achieve  better coverage.. :)
parent 4d00b340
......@@ -723,4 +723,15 @@ describe('api', function() {
done();
});
});
describe('.info()', function() {
it('should return a correct version info', function(done) {
assert.equal(sass.info(), [
'node-sass version: ' + require('../package.json').version,
'libsass version: ' + require('../package.json').libsass
].join('\n'));
done();
});
});
});
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment