Skip to content

Allow skipping data logging for a trial with record_data: false #1332

Allow skipping data logging for a trial with record_data: false

Allow skipping data logging for a trial with record_data: false #1332

Triggered via pull request November 10, 2023 21:45
Status Failure
Total duration 3m 33s
Artifacts

build.yml

on: pull_request
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#L360
TypeError: Cannot set properties of undefined (setting 'time_elapsed') at Object.trial [as onTrialResultAvailable] (src/JsPsych.ts:360: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#L360
TypeError: Cannot set properties of undefined (setting 'time_elapsed') at Object.trial [as onTrialResultAvailable] (src/JsPsych.ts:360: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#L360
TypeError: Cannot set properties of undefined (setting 'time_elapsed') at Object.trial [as onTrialResultAvailable] (src/JsPsych.ts:360: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.