Skip to content

Commit

Permalink
Created temporary fix of adding 'show_stim_feedback' field with every…
Browse files Browse the repository at this point in the history
… test, not sure why it is crashing
  • Loading branch information
vzhang03 committed Jun 21, 2024
1 parent 61e1544 commit 116ff1e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions examples/jspsych-categorize-html.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
incorrect_text: "<p>Incorrect. This color is %ANS%. Please press the correct key to continue.</p>",
prompt: "<p>Press &quot;b&quot; if the square is blue. Press &quot;p&quot; if the square is purple.</p>",
trial_duration: 1500,
show_stim_with_feedback: false,
show_feedback_on_timeout: false,
force_correct_button_press: true
};
Expand Down
3 changes: 3 additions & 0 deletions packages/plugin-categorize-html/src/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ describe("categorize-html plugin", () => {
stimulus: "FOO",
key_answer: "d",
choices: ["p", "d"],
show_stim_with_feedback: false,
},
]);

Expand All @@ -32,6 +33,7 @@ describe("categorize-html plugin simulation", () => {
stimulus: "FOO",
key_answer: "d",
choices: ["p", "d"],
show_stim_with_feedback: false,
},
]);
await expectFinished();
Expand All @@ -50,6 +52,7 @@ describe("categorize-html plugin simulation", () => {
stimulus: "FOO",
key_answer: "d",
choices: ["p", "d"],
show_stim_with_feedback: false,
},
],
"visual"
Expand Down

0 comments on commit 116ff1e

Please sign in to comment.