Skip to content

return undefined in getResult when record_data is false #1331

return undefined in getResult when record_data is false

return undefined in getResult when record_data is false #1331

Triggered via push November 10, 2023 21:45
Status Failure
Total duration 3m 48s
Artifacts

build.yml

on: push
Matrix: test
Fit to window
Zoom out
Zoom in

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.