Sha256: 536c05c004abded6b802be4650fcfa6f093f01178231e375bf2ed69db0cf9efb

Contents?: true

Size: 450 Bytes

Versions: 135

Compression:

Stored size: 450 Bytes

Contents

'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)] }
  )
}

Version data entries

135 entries across 135 versions & 4 rubygems

Version Path
cm-admin-3.0.15 app/assets/stylesheets/cm_admin/dependency/bootstrap/scss/tests/sass-true/runner.js
cm-admin-3.0.14 app/assets/stylesheets/cm_admin/dependency/bootstrap/scss/tests/sass-true/runner.js
cm-admin-3.0.13 app/assets/stylesheets/cm_admin/dependency/bootstrap/scss/tests/sass-true/runner.js
cm-admin-3.0.12 app/assets/stylesheets/cm_admin/dependency/bootstrap/scss/tests/sass-true/runner.js
cm-admin-3.0.11 app/assets/stylesheets/cm_admin/dependency/bootstrap/scss/tests/sass-true/runner.js
cm-admin-3.0.10 app/assets/stylesheets/cm_admin/dependency/bootstrap/scss/tests/sass-true/runner.js
cm-admin-3.0.9 app/assets/stylesheets/cm_admin/dependency/bootstrap/scss/tests/sass-true/runner.js
cm-admin-3.0.8 app/assets/stylesheets/cm_admin/dependency/bootstrap/scss/tests/sass-true/runner.js
cm-admin-3.0.7 app/assets/stylesheets/cm_admin/dependency/bootstrap/scss/tests/sass-true/runner.js
cm-admin-3.0.6 app/assets/stylesheets/cm_admin/dependency/bootstrap/scss/tests/sass-true/runner.js
cm-admin-3.0.5 app/assets/stylesheets/cm_admin/dependency/bootstrap/scss/tests/sass-true/runner.js
cm-admin-3.0.4 app/assets/stylesheets/cm_admin/dependency/bootstrap/scss/tests/sass-true/runner.js
cm-admin-3.0.3 app/assets/stylesheets/cm_admin/dependency/bootstrap/scss/tests/sass-true/runner.js
cm-admin-3.0.2 app/assets/stylesheets/cm_admin/dependency/bootstrap/scss/tests/sass-true/runner.js
cm-admin-3.0.1 app/assets/stylesheets/cm_admin/dependency/bootstrap/scss/tests/sass-true/runner.js
cm-admin-3.0.0 app/assets/stylesheets/cm_admin/dependency/bootstrap/scss/tests/sass-true/runner.js
cm-admin-2.4.6 app/assets/stylesheets/cm_admin/dependency/bootstrap/scss/tests/sass-true/runner.js
cm-admin-2.4.5 app/assets/stylesheets/cm_admin/dependency/bootstrap/scss/tests/sass-true/runner.js
cm-admin-2.4.4 app/assets/stylesheets/cm_admin/dependency/bootstrap/scss/tests/sass-true/runner.js
cm-admin-2.4.3 app/assets/stylesheets/cm_admin/dependency/bootstrap/scss/tests/sass-true/runner.js