diff --git a/.appveyor.yml b/.appveyor.yml new file mode 100644 index 0000000..fac2c14 --- /dev/null +++ b/.appveyor.yml @@ -0,0 +1,15 @@ +environment: + matrix: + - nodejs_version: "6" + - nodejs_version: "8" + - nodejs_version: "10" + +install: + - npm install + +test_script: + - node --version + - npm --version + - npm test + +build: off diff --git a/tests/index.test.js b/tests/index.test.js index 31984d6..bd794c5 100644 --- a/tests/index.test.js +++ b/tests/index.test.js @@ -1,3 +1,4 @@ +const path = require('path'); const sass = require('node-sass'); const importer = require('../'); @@ -5,7 +6,7 @@ const foundation = sass.renderSync({ file: 'node_modules/foundation/scss/foundation.scss', }).css.toString(); -const normalize = '@import url(node_modules/normalize.css/normalize.css);\n'; +const normalize = `@import url(node_modules${path.sep}normalize.css${path.sep}normalize.css);\n`; const compile = function(data) { return new Promise((yeah, nah) => {