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.
27 lines
656 B
27 lines
656 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.scss", "imports_animation.scss"].forEach(function(importFile) { |
|
sass.render({ |
|
file: __dirname + "/" + importFile, |
|
}, function(e, s) { |
|
if (e) { |
|
console.log(chalk.red("Sass error:"), e); |
|
} else { |
|
success(); |
|
} |
|
complete(); |
|
}); |
|
}); |
|
|
|
}); |
|
});
|
|
|