From c7506e9d9b6baf2c9cba74ad3d7b7358ff2dce55 Mon Sep 17 00:00:00 2001 From: Steve Lacy Date: Thu, 31 Dec 2015 11:36:19 -0800 Subject: [PATCH] add test for exporting stylus --- test/main.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/test/main.js b/test/main.js index 8c52447..3176b00 100644 --- a/test/main.js +++ b/test/main.js @@ -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'); @@ -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(); + }); });