Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/rfs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@gmail.com>2022-03-25 08:37:45 +0300
committerGitHub <noreply@github.com>2022-03-25 08:37:45 +0300
commitececbb06b2ff7d21e832e2ef05a12ad3e2c25254 (patch)
tree74b6e344640bdd533ae1b72e19a0b393251fcd79 /test
parent95a03262573b5c7313d982fc3d6b3e2dbafba569 (diff)
Update devDependencies (#441)
* gulp-sass ^5.0.0 → ^5.1.0 * gulp-stylus ^2.7.0 → ^2.7.1 * mocha ^9.1.3 → ^9.2.2 * node-sass ^7.0.0 → ^7.0.1 * postcss ^8.4.4 → ^8.4.12 * prettier ^2.5.0 → ^2.6.1 * sass ^1.44.0 → ^1.49.9 * stylus ^0.55.0 → ^0.57.0 * xo ^0.47.0 → ^0.48.0
Diffstat (limited to 'test')
-rw-r--r--test/lib/result.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/lib/result.js b/test/lib/result.js
index 0dea480..e58a727 100644
--- a/test/lib/result.js
+++ b/test/lib/result.js
@@ -32,21 +32,21 @@ module.exports = {
expected: id => format(getFileContent('expected', id, 'css')),
// Return parsed css
- dartsass: id => {
+ dartsass(id) {
return format(dartSass.renderSync({
file: path.join(__dirname, `../sass/${id}.scss`)
}).css.toString('utf8'));
},
// Return parsed css
- libsass: id => {
+ libsass(id) {
return format(libSass.renderSync({
file: path.join(__dirname, `../sass/${id}.scss`)
}).css.toString('utf8'));
},
// Return parsed css
- less: id => {
+ less(id) {
return less.render(getFileContent('less', id, 'less'), {
paths: [path.join(__dirname, '../less')],
syncImport: true
@@ -56,7 +56,7 @@ module.exports = {
},
// Return parsed css
- less3: id => {
+ less3(id) {
return less3.render(getFileContent('less', id, 'less'), {
paths: [path.join(__dirname, '../less')],
syncImport: true
@@ -65,7 +65,7 @@ module.exports = {
});
},
- stylus: id => {
+ stylus(id) {
let formattedCSS = '';
stylus.render(getFileContent('stylus', id, 'styl'), {
filename: path.join(__dirname, `../stylus/${id}.styl`)
@@ -79,7 +79,7 @@ module.exports = {
return formattedCSS;
},
- postcss: id => {
+ postcss(id) {
return format(postcss(rfs(postcssTests[id])).process(postcssCss).css);
}
};