gulp-minify-css
Advanced tools
Comparing version 0.4.2 to 0.4.3
{ | ||
"name": "gulp-minify-css", | ||
"description": "Minify css with clean-css.", | ||
"version": "0.4.2", | ||
"version": "0.4.3", | ||
"repository": "https://github.com/jonathanepollack/gulp-minify-css.git", | ||
@@ -28,8 +28,8 @@ "homepage": "https://github.com/jonathanepollack/gulp-minify-css", | ||
"devDependencies": { | ||
"mocha": "^1.21.4", | ||
"chai": "^1.9.0", | ||
"event-stream": "^3.1.0", | ||
"gulp": "^3.8.8", | ||
"gulp-sourcemaps": "^1.3.0", | ||
"proxyquire": "^1.0.1", | ||
"event-stream": "^3.1.0" | ||
"mocha": "^1.21.4", | ||
"proxyquire": "^1.0.1" | ||
}, | ||
@@ -36,0 +36,0 @@ "licenses": [ |
@@ -80,2 +80,13 @@ var gulp = require('gulp'), | ||
}); | ||
describe('with errors', function () { | ||
var filename = path.join(__dirname, './fixture/import-error.css'); | ||
it('should emit gutil.PluginError', function (done) { | ||
gulp.src(filename) | ||
.pipe(minifyCSS(opts)) | ||
.on('error', function (err) { | ||
expect(err).to.exist; | ||
done(); | ||
}); | ||
}); | ||
}); | ||
}); | ||
@@ -82,0 +93,0 @@ |
21977
14
477