aboutsummaryrefslogtreecommitdiff
path: root/scss/tests
diff options
context:
space:
mode:
authorJulien Déramond <[email protected]>2022-12-29 20:08:23 +0100
committerMark Otto <[email protected]>2022-12-29 12:28:24 -0800
commit31ee235638489b570a17a798e86cba8166ced702 (patch)
treed01d1241851fe836d2ce42423fc32eb722810005 /scss/tests
parentfabe0741992494d13796e4c9c1b4f1f9f0ac5856 (diff)
downloadbootstrap-31ee235638489b570a17a798e86cba8166ced702.tar.xz
bootstrap-31ee235638489b570a17a798e86cba8166ced702.zip
Build(deps-dev): Bump sass-true from 6.1.0 to 7.0.0
Diffstat (limited to 'scss/tests')
-rw-r--r--scss/tests/sass-true/runner.js10
1 files changed, 6 insertions, 4 deletions
diff --git a/scss/tests/sass-true/runner.js b/scss/tests/sass-true/runner.js
index 44d8da99d..71dc222a5 100644
--- a/scss/tests/sass-true/runner.js
+++ b/scss/tests/sass-true/runner.js
@@ -9,9 +9,11 @@ const path = require('node:path')
module.exports = (filename, { describe, it }) => {
const data = fs.readFileSync(filename, 'utf8')
const TRUE_SETUP = '$true-terminal-output: false; @import "true";'
+ const sassString = TRUE_SETUP + data
- runSass({
- data: TRUE_SETUP + data,
- includePaths: [path.dirname(filename)]
- }, { describe, it })
+ runSass(
+ { describe, it, sourceType: 'string' },
+ sassString,
+ { loadPaths: [path.dirname(filename)] }
+ )
}