jsPsych/tests
2021-02-20 14:25:45 -08:00
..
jsPsych fix failing tests: change key_press to response 2021-02-17 14:36:56 -08:00
jsPsych.data remove numeric keyCodes from tests (missed one) 2021-02-20 14:25:45 -08:00
jsPsych.extensions add tests for extensions 2021-02-16 09:22:26 -05:00
jsPsych.pluginAPI default to case-insensitive in compareKeys and getKeyboardResponse if called before jsPsych.init, add tests #396 2021-02-19 10:18:52 -08:00
jsPsych.randomization add shuffleAlternateGroups #528 2019-07-08 11:35:25 -04:00
jsPsych.utils better deepCopy util 2017-07-21 22:11:19 -04:00
plugins change responses to response in survey-text plugin #638 2021-02-17 15:58:54 -08:00
README.md Create README.md 2017-04-10 18:38:42 -04:00
testing-utils.js replaces keyCode with .key, gets all tests working 2021-01-15 17:55:12 -05:00

Testing jsPsych

Tests are written with Jest.

To run the tests, install Node and npm. Run npm install in the root jsPsych directory. Then run npm test.

To add tests, follow examples contained in this folder.