Commit f066eb6f by Nick Schonning

JSHint test.js

- Add missing semicolons
- Remove unused parameters
parent 6d530baf
...@@ -38,7 +38,7 @@ var expectedRender = '#navbar {\n\ ...@@ -38,7 +38,7 @@ var expectedRender = '#navbar {\n\
describe("DEPRECATED: compile scss", function() { describe("DEPRECATED: compile scss", function() {
it("should compile with render", function(done) { it("should compile with render", function(done) {
sass.render(scssStr, function(err, css) { sass.render(scssStr, function(err) {
done(err); done(err);
}); });
}); });
...@@ -98,6 +98,7 @@ describe("compile scss", function() { ...@@ -98,6 +98,7 @@ describe("compile scss", function() {
sass.render({ sass.render({
data: '{zzz}', data: '{zzz}',
success: function(css) { success: function(css) {
console.log(css);
}, },
error: function(error, status) { error: function(error, status) {
assert.equal(status, 1); assert.equal(status, 1);
...@@ -128,7 +129,7 @@ describe("compile file with include paths", function(){ ...@@ -128,7 +129,7 @@ describe("compile file with include paths", function(){
error: function (error) { error: function (error) {
done(error); done(error);
} }
}) });
}); });
}); });
...@@ -145,7 +146,7 @@ describe("compile file", function() { ...@@ -145,7 +146,7 @@ describe("compile file", function() {
}); });
}); });
it("should compile with renderSync", function(done) { it("should compile with renderSync", function(done) {
done(assert.ok(sass.renderSync({file: sampleFilename}))); done(assert.ok(sass.renderSync({file: sampleFilename})));
}); });
......
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