$
This commit is contained in:
2035
node_modules/node-sass/test/api.js
generated
vendored
Normal file
2035
node_modules/node-sass/test/api.js
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
129
node_modules/node-sass/test/binding.js
generated
vendored
Normal file
129
node_modules/node-sass/test/binding.js
generated
vendored
Normal file
@@ -0,0 +1,129 @@
|
||||
/*eslint new-cap: ["error", {"capIsNewExceptions": ["Color"]}]*/
|
||||
|
||||
var assert = require('assert').strict,
|
||||
path = require('path'),
|
||||
etx = require('../lib/extensions'),
|
||||
binding = process.env.NODESASS_COV
|
||||
? require('../lib-cov/binding')
|
||||
: require('../lib/binding');
|
||||
|
||||
describe('binding', function() {
|
||||
describe('missing error', function() {
|
||||
it('should be useful', function() {
|
||||
process.env.SASS_BINARY_NAME = 'unknown-x64-48';
|
||||
|
||||
assert.throws(
|
||||
function() { binding(etx); },
|
||||
function(err) {
|
||||
var re = new RegExp('Missing binding.*?\\' + path.sep + 'vendor\\' + path.sep);
|
||||
if ((err instanceof Error)) {
|
||||
return re.test(err);
|
||||
}
|
||||
}
|
||||
);
|
||||
});
|
||||
|
||||
it('should list currently installed bindings', function() {
|
||||
assert.throws(
|
||||
function() { binding(etx); },
|
||||
function(err) {
|
||||
var etx = require('../lib/extensions');
|
||||
|
||||
delete process.env.SASS_BINARY_NAME;
|
||||
|
||||
if ((err instanceof Error)) {
|
||||
return err.message.indexOf(
|
||||
etx.getHumanEnvironment(etx.getBinaryName())
|
||||
) !== -1;
|
||||
}
|
||||
}
|
||||
);
|
||||
});
|
||||
});
|
||||
|
||||
describe('on unsupported environment', function() {
|
||||
describe('with an unsupported architecture', function() {
|
||||
beforeEach(function() {
|
||||
Object.defineProperty(process, 'arch', {
|
||||
value: 'foo',
|
||||
});
|
||||
});
|
||||
|
||||
afterEach(function() {
|
||||
Object.defineProperty(process, 'arch', {
|
||||
value: 'x64',
|
||||
});
|
||||
});
|
||||
|
||||
it('should error', function() {
|
||||
assert.throws(
|
||||
function() { binding(etx); },
|
||||
'Node Sass does not yet support your current environment'
|
||||
);
|
||||
});
|
||||
|
||||
it('should inform the user the architecture is unsupported', function() {
|
||||
assert.throws(
|
||||
function() { binding(etx); },
|
||||
'Unsupported architecture (foo)'
|
||||
);
|
||||
});
|
||||
});
|
||||
|
||||
describe('with an unsupported platform', function() {
|
||||
beforeEach(function() {
|
||||
Object.defineProperty(process, 'platform', {
|
||||
value: 'bar',
|
||||
});
|
||||
});
|
||||
|
||||
afterEach(function() {
|
||||
Object.defineProperty(process, 'platform', {
|
||||
value: 'darwin',
|
||||
});
|
||||
});
|
||||
|
||||
it('should error', function() {
|
||||
assert.throws(
|
||||
function() { binding(etx); },
|
||||
'Node Sass does not yet support your current environment'
|
||||
);
|
||||
});
|
||||
|
||||
it('should inform the user the platform is unsupported', function() {
|
||||
assert.throws(
|
||||
function() { binding(etx); },
|
||||
'Unsupported platform (bar)'
|
||||
);
|
||||
});
|
||||
});
|
||||
|
||||
describe('with an unsupported runtime', function() {
|
||||
beforeEach(function() {
|
||||
Object.defineProperty(process.versions, 'modules', {
|
||||
value: 'baz',
|
||||
});
|
||||
});
|
||||
|
||||
afterEach(function() {
|
||||
Object.defineProperty(process.versions, 'modules', {
|
||||
value: 51,
|
||||
});
|
||||
});
|
||||
|
||||
it('should error', function() {
|
||||
assert.throws(
|
||||
function() { binding(etx); },
|
||||
'Node Sass does not yet support your current environment'
|
||||
);
|
||||
});
|
||||
|
||||
it('should inform the user the runtime is unsupported', function() {
|
||||
assert.throws(
|
||||
function() { binding(etx); },
|
||||
'Unsupported runtime (baz)'
|
||||
);
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
793
node_modules/node-sass/test/cli.js
generated
vendored
Normal file
793
node_modules/node-sass/test/cli.js
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
129
node_modules/node-sass/test/downloadoptions.js
generated
vendored
Normal file
129
node_modules/node-sass/test/downloadoptions.js
generated
vendored
Normal file
@@ -0,0 +1,129 @@
|
||||
var assert = require('assert').strict,
|
||||
ua = require('../scripts/util/useragent'),
|
||||
opts = require('../scripts/util/downloadoptions');
|
||||
|
||||
|
||||
describe('util', function() {
|
||||
describe('downloadoptions', function() {
|
||||
describe('without a proxy', function() {
|
||||
it('should look as we expect', function() {
|
||||
var expected = {
|
||||
strictSSL: true,
|
||||
timeout: 60000,
|
||||
headers: {
|
||||
'User-Agent': ua(),
|
||||
},
|
||||
};
|
||||
|
||||
assert.deepStrictEqual(opts(), expected);
|
||||
});
|
||||
});
|
||||
|
||||
describe('with an npm config proxy', function() {
|
||||
var proxy = 'http://test.proxy:1234';
|
||||
|
||||
before(function() {
|
||||
process.env.npm_config_proxy = proxy;
|
||||
});
|
||||
|
||||
after(function() {
|
||||
delete process.env.npm_config_proxy;
|
||||
});
|
||||
|
||||
it('should look as we expect', function() {
|
||||
var expected = {
|
||||
strictSSL: true,
|
||||
proxy: proxy,
|
||||
timeout: 60000,
|
||||
headers: {
|
||||
'User-Agent': ua(),
|
||||
},
|
||||
};
|
||||
|
||||
assert.deepStrictEqual(opts(), expected);
|
||||
});
|
||||
});
|
||||
|
||||
describe('with an env proxy proxy', function() {
|
||||
var proxy = 'http://test.proxy:1234';
|
||||
|
||||
before(function() {
|
||||
process.env.HTTP_PROXY = proxy;
|
||||
});
|
||||
|
||||
after(function() {
|
||||
delete process.env.HTTP_PROXY;
|
||||
});
|
||||
|
||||
it('should look as we expect', function() {
|
||||
var expected = {
|
||||
strictSSL: true,
|
||||
timeout: 60000,
|
||||
headers: {
|
||||
'User-Agent': ua(),
|
||||
},
|
||||
};
|
||||
|
||||
assert.deepStrictEqual(opts(), expected);
|
||||
});
|
||||
});
|
||||
|
||||
describe('with SASS_REJECT_UNAUTHORIZED set to false', function() {
|
||||
beforeEach(function() {
|
||||
process.env.SASS_REJECT_UNAUTHORIZED = '0';
|
||||
});
|
||||
|
||||
it('should look as we expect', function() {
|
||||
var expected = {
|
||||
strictSSL: false,
|
||||
timeout: 60000,
|
||||
headers: {
|
||||
'User-Agent': ua(),
|
||||
},
|
||||
};
|
||||
|
||||
assert.deepStrictEqual(opts(), expected);
|
||||
});
|
||||
});
|
||||
|
||||
describe('with SASS_REJECT_UNAUTHORIZED set to true', function() {
|
||||
beforeEach(function() {
|
||||
process.env.SASS_REJECT_UNAUTHORIZED = '1';
|
||||
});
|
||||
|
||||
it('should look as we expect', function() {
|
||||
var expected = {
|
||||
strictSSL: true,
|
||||
timeout: 60000,
|
||||
headers: {
|
||||
'User-Agent': ua(),
|
||||
},
|
||||
};
|
||||
|
||||
assert.deepStrictEqual(opts(), expected);
|
||||
});
|
||||
});
|
||||
|
||||
describe('with npm_config_sass_reject_unauthorized set to true', function() {
|
||||
beforeEach(function() {
|
||||
process.env.npm_config_sass_reject_unauthorized = true;
|
||||
});
|
||||
|
||||
it('should look as we expect', function() {
|
||||
var expected = {
|
||||
strictSSL: true,
|
||||
timeout: 60000,
|
||||
headers: {
|
||||
'User-Agent': ua(),
|
||||
},
|
||||
};
|
||||
|
||||
assert.deepStrictEqual(opts(), expected);
|
||||
});
|
||||
|
||||
afterEach(function() {
|
||||
process.env.npm_config_sass_reject_unauthorized = undefined;
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
53
node_modules/node-sass/test/errors.js
generated
vendored
Normal file
53
node_modules/node-sass/test/errors.js
generated
vendored
Normal file
@@ -0,0 +1,53 @@
|
||||
var assert = require('assert').strict,
|
||||
path = require('path'),
|
||||
errors = require('../lib/errors');
|
||||
|
||||
describe('binary errors', function() {
|
||||
|
||||
function getCurrentPlatform() {
|
||||
if (process.platform === 'win32') {
|
||||
return 'Windows';
|
||||
} else if (process.platform === 'darwin') {
|
||||
return 'OS X';
|
||||
}
|
||||
return '';
|
||||
}
|
||||
|
||||
function getCurrentArchitecture() {
|
||||
if (process.arch === 'x86' || process.arch === 'ia32') {
|
||||
return '32-bit';
|
||||
} else if (process.arch === 'x64') {
|
||||
return '64-bit';
|
||||
}
|
||||
return '';
|
||||
}
|
||||
|
||||
function getCurrentEnvironment() {
|
||||
return getCurrentPlatform() + ' ' + getCurrentArchitecture();
|
||||
}
|
||||
|
||||
describe('for an unsupported environment', function() {
|
||||
it('identifies the current environment', function() {
|
||||
var message = errors.unsupportedEnvironment();
|
||||
assert.ok(message.indexOf(getCurrentEnvironment()) !== -1);
|
||||
});
|
||||
|
||||
it('links to supported environment documentation', function() {
|
||||
var message = errors.unsupportedEnvironment();
|
||||
assert.ok(message.indexOf('https://github.com/sass/node-sass/releases/tag/v') !== -1);
|
||||
});
|
||||
});
|
||||
|
||||
describe('for an missing binary', function() {
|
||||
it('identifies the current environment', function() {
|
||||
var message = errors.missingBinary();
|
||||
assert.ok(message.indexOf(getCurrentEnvironment()) !== -1);
|
||||
});
|
||||
|
||||
it('documents the expected binary location', function() {
|
||||
var message = errors.missingBinary();
|
||||
assert.ok(message.indexOf(path.sep + 'vendor' + path.sep) !== -1);
|
||||
});
|
||||
});
|
||||
|
||||
});
|
1
node_modules/node-sass/test/fixtures/compressed/expected.css
generated
vendored
Normal file
1
node_modules/node-sass/test/fixtures/compressed/expected.css
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
#navbar{width:80%;height:23px}#navbar ul{list-style-type:none}#navbar li{float:left}#navbar li a{font-weight:bold}
|
16
node_modules/node-sass/test/fixtures/compressed/index.scss
generated
vendored
Normal file
16
node_modules/node-sass/test/fixtures/compressed/index.scss
generated
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
#navbar {
|
||||
width: 80%;
|
||||
height: 23px;
|
||||
}
|
||||
|
||||
#navbar ul {
|
||||
list-style-type: none;
|
||||
}
|
||||
|
||||
#navbar li {
|
||||
float: left;
|
||||
|
||||
a {
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
3
node_modules/node-sass/test/fixtures/custom-functions/setter-expected.css
generated
vendored
Normal file
3
node_modules/node-sass/test/fixtures/custom-functions/setter-expected.css
generated
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
div {
|
||||
width: 42rem;
|
||||
height: 84px; }
|
1
node_modules/node-sass/test/fixtures/custom-functions/setter.scss
generated
vendored
Normal file
1
node_modules/node-sass/test/fixtures/custom-functions/setter.scss
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
div { width: foo(42px); height: bar(42px); }
|
2
node_modules/node-sass/test/fixtures/custom-functions/string-conversion-expected.css
generated
vendored
Normal file
2
node_modules/node-sass/test/fixtures/custom-functions/string-conversion-expected.css
generated
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
div {
|
||||
color: "barbar"; }
|
1
node_modules/node-sass/test/fixtures/custom-functions/string-conversion.scss
generated
vendored
Normal file
1
node_modules/node-sass/test/fixtures/custom-functions/string-conversion.scss
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
div { color: foo("bar"); }
|
2
node_modules/node-sass/test/fixtures/cwd-include-path/expected.css
generated
vendored
Normal file
2
node_modules/node-sass/test/fixtures/cwd-include-path/expected.css
generated
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
.outside {
|
||||
color: red; }
|
3
node_modules/node-sass/test/fixtures/cwd-include-path/outside.scss
generated
vendored
Normal file
3
node_modules/node-sass/test/fixtures/cwd-include-path/outside.scss
generated
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
.outside {
|
||||
color: red;
|
||||
}
|
1
node_modules/node-sass/test/fixtures/cwd-include-path/root/index.scss
generated
vendored
Normal file
1
node_modules/node-sass/test/fixtures/cwd-include-path/root/index.scss
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
@import 'outside';
|
6
node_modules/node-sass/test/fixtures/depth-first/_common.scss
generated
vendored
Normal file
6
node_modules/node-sass/test/fixtures/depth-first/_common.scss
generated
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
@import "vars";
|
||||
@import "struct";
|
||||
|
||||
.myvars {
|
||||
content: quote($import_counter);
|
||||
}
|
3
node_modules/node-sass/test/fixtures/depth-first/_struct.scss
generated
vendored
Normal file
3
node_modules/node-sass/test/fixtures/depth-first/_struct.scss
generated
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
.common-struct {
|
||||
content: "common-struct";
|
||||
}
|
5
node_modules/node-sass/test/fixtures/depth-first/_vars.scss
generated
vendored
Normal file
5
node_modules/node-sass/test/fixtures/depth-first/_vars.scss
generated
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
$import_counter: $import_counter + 1;
|
||||
|
||||
.common-vars {
|
||||
content: "common-vars";
|
||||
}
|
7
node_modules/node-sass/test/fixtures/depth-first/a.scss
generated
vendored
Normal file
7
node_modules/node-sass/test/fixtures/depth-first/a.scss
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
@import "_common";
|
||||
@import "a1";
|
||||
|
||||
.a2 {
|
||||
content: "a2";
|
||||
}
|
||||
|
3
node_modules/node-sass/test/fixtures/depth-first/a1.scss
generated
vendored
Normal file
3
node_modules/node-sass/test/fixtures/depth-first/a1.scss
generated
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
.a1 {
|
||||
content: "a1";
|
||||
}
|
5
node_modules/node-sass/test/fixtures/depth-first/b.scss
generated
vendored
Normal file
5
node_modules/node-sass/test/fixtures/depth-first/b.scss
generated
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
@import "b1";
|
||||
|
||||
.b2 {
|
||||
content: "b2";
|
||||
}
|
3
node_modules/node-sass/test/fixtures/depth-first/b1.scss
generated
vendored
Normal file
3
node_modules/node-sass/test/fixtures/depth-first/b1.scss
generated
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
.b1 {
|
||||
content: "b1";
|
||||
}
|
32
node_modules/node-sass/test/fixtures/depth-first/expected.css
generated
vendored
Normal file
32
node_modules/node-sass/test/fixtures/depth-first/expected.css
generated
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
.common-vars {
|
||||
content: "common-vars"; }
|
||||
|
||||
.common-struct {
|
||||
content: "common-struct"; }
|
||||
|
||||
.myvars {
|
||||
content: "1"; }
|
||||
|
||||
.a1 {
|
||||
content: "a1"; }
|
||||
|
||||
.a2 {
|
||||
content: "a2"; }
|
||||
|
||||
.common-vars {
|
||||
content: "common-vars"; }
|
||||
|
||||
.common-struct {
|
||||
content: "common-struct"; }
|
||||
|
||||
.myvars {
|
||||
content: "2"; }
|
||||
|
||||
.b1 {
|
||||
content: "b1"; }
|
||||
|
||||
.b2 {
|
||||
content: "b2"; }
|
||||
|
||||
#the-last {
|
||||
content: "LAST"; }
|
8
node_modules/node-sass/test/fixtures/depth-first/index.scss
generated
vendored
Normal file
8
node_modules/node-sass/test/fixtures/depth-first/index.scss
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
$import_counter: 0;
|
||||
@import "a";
|
||||
@import "common";
|
||||
@import "b";
|
||||
|
||||
#the-last {
|
||||
content: "LAST";
|
||||
}
|
12
node_modules/node-sass/test/fixtures/extras/my_custom_arrays_of_importers.js
generated
vendored
Normal file
12
node_modules/node-sass/test/fixtures/extras/my_custom_arrays_of_importers.js
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
var sass = require('../../..');
|
||||
|
||||
module.exports = [
|
||||
function() {
|
||||
return sass.NULL;
|
||||
},
|
||||
function() {
|
||||
return {
|
||||
contents: 'div {color: yellow;}'
|
||||
};
|
||||
}
|
||||
];
|
10
node_modules/node-sass/test/fixtures/extras/my_custom_functions_setter.js
generated
vendored
Normal file
10
node_modules/node-sass/test/fixtures/extras/my_custom_functions_setter.js
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
module.exports = {
|
||||
'foo($a)': function(size) {
|
||||
size.setUnit('rem');
|
||||
return size;
|
||||
},
|
||||
'bar($a)': function(size) {
|
||||
size.setValue(size.getValue() * 2);
|
||||
return size;
|
||||
}
|
||||
};
|
8
node_modules/node-sass/test/fixtures/extras/my_custom_functions_string_conversion.js
generated
vendored
Normal file
8
node_modules/node-sass/test/fixtures/extras/my_custom_functions_string_conversion.js
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
var sass = require('../../..');
|
||||
|
||||
module.exports = {
|
||||
'foo($a)': function(str) {
|
||||
str = str.getValue().replace(/['"]/g, '');
|
||||
return new sass.types.String('"' + str + str + '"');
|
||||
}
|
||||
};
|
5
node_modules/node-sass/test/fixtures/extras/my_custom_importer_data.js
generated
vendored
Normal file
5
node_modules/node-sass/test/fixtures/extras/my_custom_importer_data.js
generated
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
module.exports = function() {
|
||||
return {
|
||||
contents: 'div {color: yellow;}'
|
||||
};
|
||||
};
|
5
node_modules/node-sass/test/fixtures/extras/my_custom_importer_data_cb.js
generated
vendored
Normal file
5
node_modules/node-sass/test/fixtures/extras/my_custom_importer_data_cb.js
generated
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
module.exports = function(file, prev, done) {
|
||||
done({
|
||||
contents: 'div {color: yellow;}'
|
||||
});
|
||||
};
|
3
node_modules/node-sass/test/fixtures/extras/my_custom_importer_error.js
generated
vendored
Normal file
3
node_modules/node-sass/test/fixtures/extras/my_custom_importer_error.js
generated
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
module.exports = function() {
|
||||
return new Error('doesn\'t exist!');
|
||||
};
|
7
node_modules/node-sass/test/fixtures/extras/my_custom_importer_file.js
generated
vendored
Normal file
7
node_modules/node-sass/test/fixtures/extras/my_custom_importer_file.js
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
var path = require('path');
|
||||
|
||||
module.exports = function(file) {
|
||||
return {
|
||||
file: path.resolve(path.join(process.cwd(), 'test/fixtures/include-files/', file + (path.extname(file) ? '' : '.scss')))
|
||||
};
|
||||
};
|
6
node_modules/node-sass/test/fixtures/extras/my_custom_importer_file_and_data.js
generated
vendored
Normal file
6
node_modules/node-sass/test/fixtures/extras/my_custom_importer_file_and_data.js
generated
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
module.exports = function() {
|
||||
return {
|
||||
file: '/some/random/path/file.scss',
|
||||
contents: 'div {color: yellow;}'
|
||||
};
|
||||
};
|
6
node_modules/node-sass/test/fixtures/extras/my_custom_importer_file_and_data_cb.js
generated
vendored
Normal file
6
node_modules/node-sass/test/fixtures/extras/my_custom_importer_file_and_data_cb.js
generated
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
module.exports = function(file, prev, done) {
|
||||
done({
|
||||
file: '/some/random/path/file.scss',
|
||||
contents: 'div {color: yellow;}'
|
||||
});
|
||||
};
|
7
node_modules/node-sass/test/fixtures/extras/my_custom_importer_file_cb.js
generated
vendored
Normal file
7
node_modules/node-sass/test/fixtures/extras/my_custom_importer_file_cb.js
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
var path = require('path');
|
||||
|
||||
module.exports = function(file, /* jshint unused:false */ prev, done) {
|
||||
done({
|
||||
file: path.resolve(path.join(process.cwd(), 'test/fixtures/include-files/', file + (path.extname(file) ? '' : '.scss')))
|
||||
});
|
||||
};
|
16
node_modules/node-sass/test/fixtures/follow/foo/bar/index.scss
generated
vendored
Normal file
16
node_modules/node-sass/test/fixtures/follow/foo/bar/index.scss
generated
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
#navbar {
|
||||
width: 80%;
|
||||
height: 23px;
|
||||
}
|
||||
|
||||
#navbar ul {
|
||||
list-style-type: none;
|
||||
}
|
||||
|
||||
#navbar li {
|
||||
float: left;
|
||||
|
||||
a {
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
1
node_modules/node-sass/test/fixtures/include-files/bar.scss
generated
vendored
Normal file
1
node_modules/node-sass/test/fixtures/include-files/bar.scss
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
/* bar.scss */
|
1
node_modules/node-sass/test/fixtures/include-files/chained-imports-with-custom-importer.scss
generated
vendored
Normal file
1
node_modules/node-sass/test/fixtures/include-files/chained-imports-with-custom-importer.scss
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
@import "file-not-processed-by-loader", "file-processed-by-loader";
|
5
node_modules/node-sass/test/fixtures/include-files/expected-data-importer.css
generated
vendored
Normal file
5
node_modules/node-sass/test/fixtures/include-files/expected-data-importer.css
generated
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
div {
|
||||
color: yellow; }
|
||||
|
||||
div {
|
||||
color: yellow; }
|
2
node_modules/node-sass/test/fixtures/include-files/expected-file-importer.css
generated
vendored
Normal file
2
node_modules/node-sass/test/fixtures/include-files/expected-file-importer.css
generated
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
/* foo.scss */
|
||||
/* bar.scss */
|
5
node_modules/node-sass/test/fixtures/include-files/expected-importer.css
generated
vendored
Normal file
5
node_modules/node-sass/test/fixtures/include-files/expected-importer.css
generated
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
div {
|
||||
color: yellow; }
|
||||
|
||||
div {
|
||||
color: yellow; }
|
1
node_modules/node-sass/test/fixtures/include-files/file-not-processed-by-loader.scss
generated
vendored
Normal file
1
node_modules/node-sass/test/fixtures/include-files/file-not-processed-by-loader.scss
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
$variable-defined-by-file-not-processed-by-loader: 'red';
|
3
node_modules/node-sass/test/fixtures/include-files/file-processed-by-loader.scss
generated
vendored
Normal file
3
node_modules/node-sass/test/fixtures/include-files/file-processed-by-loader.scss
generated
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
body {
|
||||
color: $variable-defined-by-file-not-processed-by-loader;
|
||||
}
|
1
node_modules/node-sass/test/fixtures/include-files/foo.scss
generated
vendored
Normal file
1
node_modules/node-sass/test/fixtures/include-files/foo.scss
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
/* foo.scss */
|
2
node_modules/node-sass/test/fixtures/include-files/index.scss
generated
vendored
Normal file
2
node_modules/node-sass/test/fixtures/include-files/index.scss
generated
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
@import 'foo';
|
||||
@import 'bar';
|
3
node_modules/node-sass/test/fixtures/include-path/expected.css
generated
vendored
Normal file
3
node_modules/node-sass/test/fixtures/include-path/expected.css
generated
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
body {
|
||||
background: red;
|
||||
color: #0000fe; }
|
3
node_modules/node-sass/test/fixtures/include-path/functions/colorBlue.scss
generated
vendored
Normal file
3
node_modules/node-sass/test/fixtures/include-path/functions/colorBlue.scss
generated
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
@function colorBlue() {
|
||||
@return #0000fe;
|
||||
}
|
7
node_modules/node-sass/test/fixtures/include-path/index.scss
generated
vendored
Normal file
7
node_modules/node-sass/test/fixtures/include-path/index.scss
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
@import 'vars';
|
||||
@import 'colorBlue';
|
||||
|
||||
body {
|
||||
background: $color;
|
||||
color: colorBlue();
|
||||
}
|
1
node_modules/node-sass/test/fixtures/include-path/lib/vars.scss
generated
vendored
Normal file
1
node_modules/node-sass/test/fixtures/include-path/lib/vars.scss
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
$color: red;
|
2
node_modules/node-sass/test/fixtures/indent/expected.css
generated
vendored
Normal file
2
node_modules/node-sass/test/fixtures/indent/expected.css
generated
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
foo + bar {
|
||||
color: red; }
|
3
node_modules/node-sass/test/fixtures/indent/index.sass
generated
vendored
Normal file
3
node_modules/node-sass/test/fixtures/indent/index.sass
generated
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
foo
|
||||
+ bar
|
||||
color: red
|
16
node_modules/node-sass/test/fixtures/input-directory/sass/_skipped.scss
generated
vendored
Normal file
16
node_modules/node-sass/test/fixtures/input-directory/sass/_skipped.scss
generated
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
#navbar {
|
||||
width: 80%;
|
||||
height: 23px;
|
||||
}
|
||||
|
||||
#navbar ul {
|
||||
list-style-type: none;
|
||||
}
|
||||
|
||||
#navbar li {
|
||||
float: left;
|
||||
|
||||
a {
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user