return undefined in getResult when record_data is false #1331
Annotations
4 errors
The record_data parameter › Can be set to false to prevent the data from being recorded:
packages/jspsych/src/JsPsych.ts#L348
TypeError: Cannot set properties of undefined (setting 'time_elapsed')
at Object.trial [as onTrialResultAvailable] (src/JsPsych.ts:348:1)
at Trial.run (src/timeline/Trial.ts:52:1)
at Timeline.run (src/timeline/Timeline.ts:85:1)
at JsPsych.run (src/JsPsych.ts:144:1)
|
The record_data parameter › Can be set as a timeline variable:
packages/jspsych/src/JsPsych.ts#L348
TypeError: Cannot set properties of undefined (setting 'time_elapsed')
at Object.trial [as onTrialResultAvailable] (src/JsPsych.ts:348:1)
at Trial.run (src/timeline/Trial.ts:52:1)
at Timeline.run (src/timeline/Timeline.ts:85:1)
at Timeline.run (src/timeline/Timeline.ts:85:1)
at JsPsych.run (src/JsPsych.ts:144:1)
|
The record_data parameter › Can be set as a function:
packages/jspsych/src/JsPsych.ts#L348
TypeError: Cannot set properties of undefined (setting 'time_elapsed')
at Object.trial [as onTrialResultAvailable] (src/JsPsych.ts:348:1)
at Trial.run (src/timeline/Trial.ts:52:1)
at Timeline.run (src/timeline/Timeline.ts:85:1)
at JsPsych.run (src/JsPsych.ts:144:1)
|
Build, lint, and test on Node.js 18
Process completed with exit code 1.
|