0.3.0 • Published 8 years ago
broccoli-fixturify v0.3.0
Broccoli Fixturify
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.