einars/js-beautify — pull request #127 by evocateur (2012-07-13 16:26:55+00:00)
Title: Run tests with node.js more easily

Instead of copy and pasting the one-liner at the end of `run-tests`, let's just make `beautify-tests.js` executable as a node.js script. It won't interfere with Spidermonkey (`/usr/bin/js`), and it's behaviour is identical.

To run the tests with node, simply ensure `node` is on your `PATH` and `./tests/beautify-tests.js` from the root of the repo.