403Webshell
Server IP : 157.230.181.24  /  Your IP : 216.73.216.36
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux conductive 6.8.0-117-generic #117-Ubuntu SMP PREEMPT_DYNAMIC Tue May 5 19:26:24 UTC 2026 x86_64
User :  ( 1000)
PHP Version : 8.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/vhosts/convo/node_modules/node-bourbon/test/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/vhosts/convo/node_modules/node-bourbon/test//compile_test.js
var expect  = require('chai').expect
  , sass    = require('node-sass')
  , bourbon = require('../')
  , fs      = require('fs');

describe('compiling bourbon', function() {

  it('should compile to css when importing Bourbon', function() {
    var generatedCss = sass.renderSync({
      file: __dirname + '/fixtures/compile.scss',
      includePaths: bourbon.includePaths,
      outputStyle: 'expanded'
    });
    var expectedCssFile = __dirname + '/expectations/compile.css';
    var expectedCss     = fs.readFileSync(expectedCssFile, {encoding: 'utf8'});
    expect(generatedCss).to.eq(expectedCss);
  });

  it('should not throw errors for Bourbon features', function(done) {
    sass.render({
      file: __dirname + '/fixtures/features.scss',
      includePaths: bourbon.includePaths,
      error: function(err) {
        throw new Error(err);
      },
      success: function(css) {
        done();
      }
    });
  });

});

Youez - 2016 - github.com/yon3zu
LinuXploit