<commit_before># PhantomJS Runners for Mocha


# TODO

* Real Package - https://github.com/jamescarr/jasmine-tool
* Make sure runner hooks into status code. Test.


# Details

* Talk about `window.mochaPhantomJS` being set to true by PhantomJS on page initialization.
  - Used so you can manually run HTML files as well as avoid run() in PhantomJS.
* Talk about `process.stdout.write` done right!


# Exit Code

This runner will use the number of test failures as the exit code for the phantom process. This makes it easy to utilize this runner in your continious integration system. So zero test failures will mean a status code of 0 which is equal to passing. 



<commit_msg>Test markdown with centered images.<commit_after># PhantomJS Runners for Mocha


# TODO

* Real Package - https://github.com/jamescarr/jasmine-tool
* Make sure runner hooks into status code. Test.


# Supported Reporters

* spec (default)
* dot
* tap
* min
* list
* doc

### Spec Reporter

->![Spec Reporter](https://raw.github.com/metaskills/mocha-phantomjs/master/public/images/reporter_spec.gif)<-


# Details

* Talk about `window.mochaPhantomJS` being set to true by PhantomJS on page initialization.
  - Used so you can manually run HTML files as well as avoid run() in PhantomJS.
* Talk about `process.stdout.write` done right!


# Exit Code

This runner will use the number of test failures as the exit code for the phantom process. This makes it easy to utilize this runner in your continious integration system. So zero test failures will mean a status code of 0 which is equal to passing. 




{'fraction_non_alphanumeric': 0.06890012642225031, 'fraction_numerical': 0.0012642225031605564, 'mean_word_length': 3.855828220858896, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 3, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4381163', 'n_tokens_mistral': 479, 'n_tokens_neox': 437, 'n_words': 213}