Skip to content

Core rewrite

Core rewrite #1223

Triggered via pull request July 13, 2023 15:39
@bjolucbjoluc
synchronize #2858
core-rewrite
Status Failure
Total duration 7m 9s
Artifacts

build.yml

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

Annotations

10 errors
cloze › ends trial on button click when using default settings: packages/test-utils/src/index.ts#L117
expect(received).toBe(expected) // Object.is equality Expected: true Received: false at expect (../test-utils/src/index.ts:117:1) at Object.<anonymous> (src/index.spec.ts:59:1)
cloze › ends trial on button click when answers are checked and correct: packages/test-utils/src/index.ts#L117
expect(received).toBe(expected) // Object.is equality Expected: true Received: false at expect (../test-utils/src/index.ts:117:1) at Object.<anonymous> (src/index.spec.ts:73:1)
cloze › ends trial on button click when all answers are checked for completion and are complete: packages/test-utils/src/index.ts#L117
expect(received).toBe(expected) // Object.is equality Expected: true Received: false at expect (../test-utils/src/index.ts:117:1) at Object.<anonymous> (src/index.spec.ts:87:1)
cloze › calls mistake function on button click when answers are checked and not correct: packages/plugin-cloze/src/index.spec.ts#L166
expect(jest.fn()).toHaveBeenCalled() Expected number of calls: >= 1 Received number of calls: 0 at Object.<anonymous> (src/index.spec.ts:166:1)
cloze › calls mistake function on button click when answers are checked for completion and are not complete: packages/plugin-cloze/src/index.spec.ts#L183
expect(jest.fn()).toHaveBeenCalled() Expected number of calls: >= 1 Received number of calls: 0 at Object.<anonymous> (src/index.spec.ts:183:1)
cloze › response data is stored as an array: packages/plugin-cloze/src/index.spec.ts#L198
TypeError: Cannot read properties of undefined (reading 'response') at Object.<anonymous> (src/index.spec.ts:198:1)
cloze simulation › visual mode works: packages/plugin-cloze/src/index.spec.ts#L238
expect(received).toBe(expected) // Object.is equality Expected: "cloze" Received: "cloze1" at Object.<anonymous> (src/index.spec.ts:238:1)
image-button-response › displays image stimulus: packages/jspsych/src/timeline/Trial.ts#L348
A non-array value (`<button class="jspsych-btn">%choice%</button>`) was provided for the array parameter "button_html" in the "image-button-response" plugin. Please make sure that "button_html" is an array. at assignParameterValues (../jspsych/src/timeline/Trial.ts:348:1) at Trial.assignParameterValues [as processParameters] (../jspsych/src/timeline/Trial.ts:374:1) at Trial.run (../jspsych/src/timeline/Trial.ts:43:1) at Timeline.run (../jspsych/src/timeline/Timeline.ts:85:1) at JsPsych.run (../jspsych/src/JsPsych.ts:144:1)
image-button-response › displays image stimulus: packages/plugin-image-button-response/src/index.spec.ts#L18
expect(received).toContain(expected) // indexOf Expected substring: "<img src=\"../media/blue.png\"" Received string: "" at Object.<anonymous> (src/index.spec.ts:18:1)
image-button-response › display button labels: packages/jspsych/src/timeline/Trial.ts#L348
A non-array value (`<button class="jspsych-btn">%choice%</button>`) was provided for the array parameter "button_html" in the "image-button-response" plugin. Please make sure that "button_html" is an array. at assignParameterValues (../jspsych/src/timeline/Trial.ts:348:1) at Trial.assignParameterValues [as processParameters] (../jspsych/src/timeline/Trial.ts:374:1) at Trial.run (../jspsych/src/timeline/Trial.ts:43:1) at Timeline.run (../jspsych/src/timeline/Timeline.ts:85:1) at JsPsych.run (../jspsych/src/JsPsych.ts:144:1)