To set up a Jasmine tested JS project, you would do something like the following:
git clone firstname.lastname@example.org:jasmine/jasmine.git temp-jasmine-git-folder mkdir -p jasmine-tested-project/jasmine unzip jasmine/dist/jasmine-standalone-2.2.0.zip -d jasmine-tested-project/jasmine rm -r temp-jasmine-git-folder
and then you would set up a test runner html file such as
jasmine-tested-project/SpecRunner.html that would take code files such as
jasmine-tested-project/code-to-be-tested.js as well as test files such as
If you then host the whole jasmine-tested-project dir via static files, this could create interesting pair programming/teaching scenarios.
For example, if you share your console with a class of students, and edit/change your tests and js code there, then your students can navigate to the test runner page and see the test results change from red to green in real time as you save your files. Alternatively, your students could be working on their own versions of the code, and serving the test runner on their respective PythonAnywhere websites. Then you would be able to look at their progress and then help them if they are having any problems.