BVB Source Codes

web-design-standards Show include.spec.js Source code

Return Download web-design-standards: download include.spec.js Source code - Download web-design-standards Source code - Type:.js
  1. var assert = require('assert');
  2. var sass = require('node-sass');
  3. var path = require('path');
  4.  
  5. var includePath = path.resolve(
  6.   path.join(
  7.     __dirname,
  8.     '../../src/stylesheets'
  9.   )
  10. );
  11.  
  12. var render = function (data, done) {
  13.   return sass.render({
  14.     data: data,
  15.     includePaths: [
  16.       includePath,
  17.     ],
  18.   }, done);
  19. };
  20.  
  21. describe('include paths', function () {
  22.  
  23.   it('can be loaded with @import "uswds"', function (done) {
  24.     render('@import "uswds";', done);
  25.   });
  26.  
  27.   it('can be loaded with @import "all"', function (done) {
  28.     render('@import "all";', done);
  29.   });
  30.  
  31. });
  32.  
downloadinclude.spec.js Source code - Download web-design-standards Source code
Related Source Codes/Software:
KineticJS - KineticJS is an HTML5 Canvas JavaScript framework ... 2017-01-07
yui3 - A library for building richly interactive web appl... 2017-01-07
TextBlob - Simple, Pythonic, text processing--Sentiment analy... 2017-01-07
monaco-editor - A browser based code editor 2017-01-07
grumpy - Grumpy is a Python to Go source code transcompiler... 2017-01-07
Knuff - The debug application for Apple Push Notification ... 2017-01-07
RoundedImageView - A fast ImageView that supports rounded corners, ov... 2017-01-07
flowchart.js - Draws simple SVG flow chart diagrams from textual ... 2017-01-08
TextFieldEffects - Custom UITextFields effects inspired by Codrops, b... 2017-01-08
glide - Package Management for Golang h... 2017-01-08
CRYENGINE - CRYENGINE is a powerful real-time game development... 2017-06-11
postal - 2017-06-11
reactide - Reactide is the first dedicated IDE for React web ... 2017-06-11
rkt - rkt is a pod-native container engine for Linux. It... 2017-06-11
uWebSockets - Tiny WebSockets https://for... 2017-06-11
realworld - TodoMVC for the RealWorld - Exemplary fullstack Me... 2017-06-11
goreplay - GoReplay is an open-source tool for capturing and ... 2017-06-10
pyenv - Simple Python version management 2017-06-10
redux-saga - An alternative side effect model for Redux apps ... 2017-06-10
angular-starter - 2017-06-10

 Back to top