Commit 491f5fc8 by Kevin Martensson

Add `.middleware()` test

parent 5faaed1b
...@@ -504,4 +504,11 @@ describe('api', function() { ...@@ -504,4 +504,11 @@ describe('api', function() {
done(); done();
}); });
}); });
describe('.middleware()', function() {
it('should throw error on require', function(done) {
assert.throws(sass.middleware());
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