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.
25 lines
578 B
25 lines
578 B
![]()
11 years ago
|
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();
|
||
|
}
|
||
|
|
||
|
sass.render({
|
||
|
file: __dirname + "/imports.scss",
|
||
|
success: function(s){
|
||
|
success();
|
||
|
complete();
|
||
|
},
|
||
|
error: function(e){
|
||
|
complete();
|
||
|
console.log(chalk.red("Sass error:"), e);
|
||
|
}
|
||
|
});
|
||
|
});
|
||
|
});
|