Skip to content

rwjblue/broccoli-fixturify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published