https://github.com/sha-red/compass-mixins/tree/master/lib
extended with more sass frameworks and as django app.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
679 B
28 lines
679 B
var sass = require('node-sass'); |
|
var chalk = require('chalk'); |
|
|
|
describe("Imports", function () { |
|
it("should import all the provided files without an error", function (done) { |
|
var success = jasmine.createSpy('ImportSuccess'); |
|
|
|
function complete() { |
|
expect(success).toHaveBeenCalled(); |
|
done(); |
|
} |
|
|
|
["imports", "imports_animation"].forEach(function(importFile) { |
|
sass.render({ |
|
file: __dirname + "/" + importFile, |
|
success: function(s){ |
|
success(); |
|
complete(); |
|
}, |
|
error: function(e){ |
|
console.log(chalk.red("Sass error:"), e); |
|
complete(); |
|
} |
|
}); |
|
}); |
|
|
|
}); |
|
});
|
|
|