You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
300 B
JavaScript
8 lines
300 B
JavaScript
var assert = require('assert');
|
|
var rfile = require('rfile');
|
|
var ruglify = require('../');
|
|
describe('ruglify(file)', function () {
|
|
it('returns the minified source code for the file', function () {
|
|
assert.equal(ruglify('./fixture/jquery.js'), rfile('./fixture/jquery.min.js'));
|
|
});
|
|
}); |