npm

Need private packages and team management tools?Check out npm Orgs. »

broccoli-fixturify

0.3.0 • Public • Published

Broccoli Fixturify

Build Status

Usage

Create a Broccoli source node whose contents are created by fixturify rather than coming from the file system:

var Fixturify = require('broccoli-fixturify');
 
var desiredDirectory = {
  'foo.txt': 'foo.txt contents',
  'subdir': {
    'bar.txt': 'bar.txt contents'
  }
}
 
var node = new Fixturify(desiredDirectory);

Documentation

new Fixturify(fixturifyObjectTree)

fixturifyObjectTree {Object}

This will be used by fixturify to generate a directory tree based on the file input.

ZOMG!!! TESTS?!?!!?

I know, right?

Running the tests:

npm install
npm test

License

This project is distributed under the MIT license.

install

npm i broccoli-fixturify

Downloadsweekly downloads

380

version

0.3.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability