1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-30 08:39:56 +02:00

Modify Sass tests to pass for new Sass modules implementation

This commit is contained in:
Mark Otto
2025-05-31 11:32:48 -07:00
parent 39308ab3a9
commit 974bc43acc
5 changed files with 213 additions and 202 deletions

View File

@@ -6,7 +6,7 @@ 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 TRUE_SETUP = '@use "true" as *;'
const sassString = TRUE_SETUP + data
runSass(