Skip to content

Commit

Permalink
add test for exporting stylus
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenlacy committed Dec 31, 2015
1 parent 9692745 commit c7506e9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
var should = require('should');
var gutil = require('gulp-util');
var sourcemaps = require('gulp-sourcemaps');
var originalStylus = require('stylus');
var stylus = require('../');
var fs = require('fs');

Expand Down Expand Up @@ -243,5 +244,11 @@ describe('gulp-stylus', function() {
stream.end();

});

it('should export Stylus', function(done) {
should.exist(stylus.stylus);
should(stylus.stylus).equal(originalStylus);
done();
});

});

0 comments on commit c7506e9

Please sign in to comment.