An example of using Pretzel Test, a test framework that was built in this blog post.
To get this working you'll need to follow the following steps:
git clone https://github.com/twosmalltrees/pretzel-test.git pretzel-test
cd pretzel-test
npm link
git clone https://github.com/twosmalltrees/pretzel-test-example.git pretzel-test-example
cd pretzel-test-example
npm link pretzel-test
npm run test