Browse Source

fix(animations): add import paths and tests for animations.scss (which is a separate import)

master
Guillaume Balaine 10 years ago
parent
commit
c24c24c0b6
  1. 2
      lib/_animate.scss
  2. 25
      test/compileSpec.js
  3. 1
      test/imports_animation.scss

2
lib/_animate.scss vendored

@ -1 +1,3 @@
@import "compass";
@import "animation/core";
@import "animation/animate";

25
test/compileSpec.js

@ -10,16 +10,19 @@ describe("Imports", function () {
done();
}
sass.render({
file: __dirname + "/imports.scss",
success: function(s){
success();
complete();
},
error: function(e){
complete();
console.log(chalk.red("Sass error:"), e);
}
["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();
}
});
});
});
});
});

1
test/imports_animation.scss

@ -0,0 +1 @@
@import "../lib/animate";
Loading…
Cancel
Save