Sha256: e6928d3bcdf9d6480f354d392626660daaa58d4c7dedd52ff667efe56c3f261b
Contents?: true
Size: 492 Bytes
Versions: 5
Compression:
Stored size: 492 Bytes
Contents
/* eslint-env node */ 'use strict' const { runSass } = require('sass-true') const fs = require('node:fs') 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( { describe, it, sourceType: 'string' }, sassString, { loadPaths: [path.dirname(filename)] } ) }
Version data entries
5 entries across 5 versions & 2 rubygems