jsPsych/tests
2021-02-04 21:53:55 -05:00
..
jsPsych add a test to ensure loop function runs only once with TVs #585 2021-02-04 21:53:55 -05:00
jsPsych.data wrap expected errors in anonymous function 2020-10-16 17:14:22 -07:00
jsPsych.pluginAPI implements #489 2018-01-03 13:57:20 -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
media working preloaded video 2018-05-31 09:56:42 +01:00
plugins improve preloading test based on console.warn 2020-12-07 16:57:01 -08: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.