diff options
Diffstat (limited to 'pyblackbird_cc/static/scss/tests/sass-true/runner.js')
-rw-r--r-- | pyblackbird_cc/static/scss/tests/sass-true/runner.js | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/pyblackbird_cc/static/scss/tests/sass-true/runner.js b/pyblackbird_cc/static/scss/tests/sass-true/runner.js deleted file mode 100644 index bef870a..0000000 --- a/pyblackbird_cc/static/scss/tests/sass-true/runner.js +++ /dev/null @@ -1,17 +0,0 @@ -'use strict' - -const fs = require('node:fs') -const path = require('node:path') -const { runSass } = require('sass-true') - -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( - { describe, it, sourceType: 'string' }, - sassString, - { loadPaths: [path.dirname(filename)] } - ) -} |