Sha256: ab0d611bb037db482c864d09b76b5aadcd6c8cff0a497f6c1cda5c4a64e21f43

Contents?: true

Size: 473 Bytes

Versions: 10

Compression:

Stored size: 473 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

10 entries across 10 versions & 4 rubygems

Version Path
docs-gem01-0.1.1 _sass/bootstrap/scss/tests/sass-true/runner.js
docs-gem01-0.1.0.dev _sass/bootstrap/scss/tests/sass-true/runner.js
raikar10-0.1.2 _sass/bootstrap/scss/tests/sass-true/runner.js
raikar10-0.1.0 _sass/bootstrap/scss/tests/sass-true/runner.js
raikar09-0.1.4 _sass/bootstrap/scss/tests/sass-true/runner.js
raikar09-0.1.3 _sass/bootstrap/scss/tests/sass-true/runner.js
raikar09-0.1.2 _sass/bootstrap/scss/tests/sass-true/runner.js
raikar09-0.1.1 _sass/bootstrap/scss/tests/sass-true/runner.js
raikar09-0.1.0 _sass/bootstrap/scss/tests/sass-true/runner.js
raikar08-0.1.0 _sass/bootstrap/scss/tests/sass-true/runner.js