Commit Graph

104 Commits

Author SHA1 Message Date
vzhang03
b7bd08aaac Fixed tests by adding version to ignored fields 2024-06-25 10:55:18 -04:00
vzhang03
61e1544b9a Updated final plugin test 2024-06-21 15:06:48 -04:00
vzhang03
593d4ce7bf Updating old tests to use new plugin syntax and requirements 2024-06-21 15:03:10 -04:00
Josh de Leeuw
2898da6c59
Merge pull request #3167 from jspsych/skip-data-logging
Allow skipping data logging for a trial with `record_data: false`
2023-12-08 10:37:10 -05:00
bjoluc
ab7ad5a435 Handle undefined results 2023-12-06 19:56:24 +01:00
Josh de Leeuw
7b1ae24f4e add abortTimelineByName() 2023-10-30 13:01:55 -04:00
Josh de Leeuw
6f9d01b2ae added record_data parameter 2023-10-30 09:48:07 -04:00
bjoluc
9cac68a140 Merge branch 'main' into core-rewrite 2023-07-13 17:38:45 +02:00
Josh de Leeuw
545ecbaa76 update test case 2023-05-17 15:42:39 -04:00
Josh de Leeuw
7dd439fdcc fix test case, need to pressKey because not simulation 2023-05-17 12:10:43 -04:00
Josh de Leeuw
e0026a3f87 add failing test for #2859 2023-05-17 11:38:05 -04:00
Josh de Leeuw
5f2b049763 add failing test for #2862 2023-05-17 10:47:54 -04:00
Josh de Leeuw
b6d4b18278 add test case for #2912 2023-05-17 10:30:56 -04:00
Josh de Leeuw
236cac8a21 add deepMerge utility function 2023-05-16 21:35:20 -04:00
Josh de Leeuw
d0a6839ac2 add a test for #2911 2023-05-16 17:45:23 -04:00
Josh de Leeuw
a72a455fb4 add test case for #3008 2023-05-16 12:22:25 -04:00
Josh de Leeuw
1324361835 Fix defaults for COMPLEX parameter types 2023-03-06 10:09:24 -05:00
bjoluc
76e7508024 Upgrade Jest to v29 and replace ts-jest with @sucrase/jest-plugin 2022-11-17 21:28:44 +01:00
bjoluc
b9d58a67fb Merge branch 'main' into core-rewrite 2022-11-09 15:17:53 +01:00
bjoluc
8318d380c1 Merge branch 'main' into core-rewrite 2022-11-09 15:13:58 +01:00
bjoluc
61ec10779c Run on_timeline_start and on_timeline_finish only once per timeline 2022-11-09 11:12:38 +01:00
bjoluc
f9f99b5c32 Fix skipped tests 2022-11-09 10:10:27 +01:00
bjoluc
2092d12a60 Rename jsPsych.end... functions to jsPsych.abort... and implement abortCurrentTimeline 2022-11-08 22:27:32 +01:00
bjoluc
46a3b65cb6 Make absolute import paths relative 2022-11-07 20:51:23 +01:00
bjoluc
7ab7b20f52 Implement simulation mode 2022-11-07 20:40:27 +01:00
bjoluc
677333e6fa Add missing awaits in functions-as-parameters.test.ts 2022-10-28 20:10:38 +02:00
bjoluc
efb31c9078 Fix pluginapi.test.ts 2022-10-28 15:18:40 +02:00
bjoluc
b3eff611d2 Implement extension support by integrating ExtensionManager 2022-10-28 11:28:37 +02:00
bjoluc
6e45aff804 Implement ExtensionManager 2022-10-27 19:44:48 +02:00
bjoluc
5aa986ef0e Implement save_trial_parameters 2022-10-27 14:25:02 +02:00
bjoluc
89dbfa9875 Adapt implementation to dataparameter.test.ts and fix more data test suites 2022-10-26 20:16:25 +02:00
bjoluc
b9d1eac623 Fix more data test suites 2022-10-26 17:33:12 +02:00
bjoluc
088a974deb Adapt implementation to datamodule.test.ts 2022-10-26 15:43:49 +02:00
bjoluc
f211f6bc53 Enhance progress bar implementation 2022-10-14 20:59:48 +02:00
bjoluc
45a218291b Extract ProgressBar class 2022-10-12 17:43:15 +02:00
bjoluc
06d87d0c81 Update more core test files 2022-10-12 11:01:24 +02:00
Josh de Leeuw
a3523ad2a5 fixes #2810 2022-10-11 18:07:24 -04:00
bjoluc
bdaff4aefc Adapt implementation to timelines.test.ts 2022-10-11 21:49:10 +02:00
bjoluc
668fd0edf5 Fix TimelineNodeDependencies integration with JsPsych class 2022-10-11 18:07:19 +02:00
bjoluc
771ee6671e Remove JsPsych dependency from timeline nodes 2022-10-11 17:07:36 +02:00
bjoluc
a45941ad95 Rename randomziation.test.ts => randomization.test.ts
On second thought, I like randomziation. It sounds much more random!
2022-10-11 15:11:17 +02:00
bjoluc
c9326e32bf Add test case for #2808 2022-10-11 14:59:35 +02:00
bjoluc
f23fb33a53 Enhance TestPlugin implementation to slim down unit tests 2022-10-11 14:24:04 +02:00
bjoluc
d7f29da8f5 Adapt Timeline tests and implementation according to timeline-variables.test.ts 2022-10-10 20:00:24 +02:00
bjoluc
5b50a92150 Evaluate complex (array) parameter functions 2022-10-10 13:43:05 +02:00
bjoluc
035d2aa1dd Implement global event handlers 2022-10-06 21:59:20 +02:00
bjoluc
deaa602c56 Fix some old core tests and implement endExperiment() 2022-09-30 17:36:35 +02:00
bjoluc
a0ef528f3d Implement css_classes and display element focusing via the JsPsych class 2022-09-21 18:16:31 +02:00
Josh de Leeuw
5ddd28cb83 remove .only test 2022-07-14 11:15:25 -04:00
Josh de Leeuw
ac1c2c5477 add test case for fixed-repetitions method (verify #2708) 2022-07-14 11:00:39 -04:00