jsPsych/tests
2021-02-05 10:57:50 -05:00
..
jsPsych remove outdated test 2021-01-07 16:15:13 -05:00
jsPsych.data wrap expected errors in anonymous function 2020-10-16 17:14:22 -07:00
jsPsych.pluginAPI switch auto_preload to bool, add trials parameter, implement working tests 2021-01-07 22:15:38 -05: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 tests to use mock functions 2021-02-05 10:55:52 -05:00
README.md Create README.md 2017-04-10 18:38:42 -04:00
testing-utils.js fixed IAT plugin and doc 2017-06-21 11:16:47 -04: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.