<commit_before>Jasmine is an open source JavaScript unit testing framework: see
https://github.com/jasmine/jasmine. Jasmine is not part of the Vesper
project, but part of Jasmine is included here to make running Vesper
client unit tests simpler.<commit_msg>Add instructions for running Vesper JavaScript unit tests.<commit_after>Jasmine is an open source JavaScript unit testing framework: see
https://github.com/jasmine/jasmine. Jasmine is not part of the Vesper
project, but part of Jasmine is included here to make running Vesper
client unit tests simpler.

To run Vesper's JavaScript unit tests, open a terminal and run the
following commands:

    cd /Users/harold/Documents/Code/Python/Vesper/vesper/django/app
    conda activate vesper-dev
    python -m http.server
    
and then visit the following URL in Chrome:

    http://127.0.0.1:8000/static/tests/vesper-unit-tests.html
    
Edit the vesper-unit-tests.html file if needed to comment out some
tests.
{'fraction_non_alphanumeric': 0.06230529595015576, 'fraction_numerical': 0.010384215991692628, 'mean_word_length': 4.1550802139037435, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, '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': '4217354', 'n_tokens_mistral': 289, 'n_tokens_neox': 259, 'n_words': 116}