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.

Package Sidebar

Install

npm i broccoli-fixturify

Weekly Downloads

345

Version

0.3.0

License

MIT

Last publish

Collaborators

  • rwjblue