Add button_layout
parameter to support CSS grid
#1275
Annotations
2 errors
html-button-response › displays html stimulus and buttons:
packages/plugin-html-button-response/src/index.spec.ts#L17
expect(received).toMatchInlineSnapshot(snapshot)
Snapshot name: `html-button-response displays html stimulus and buttons 1`
- Snapshot - 1
+ Received + 1
- "<div id="jspsych-html-button-response-stimulus">this is html</div><div id="jspsych-html-button-response-btngroup" style="display: flex; justify-content: center; gap: 0px 8px; padding: 0px 8px;"><button class="jspsych-btn" data-choice="0">button-choice</button></div>"
+ "<div id="jspsych-html-button-response-stimulus">this is html</div><div id="jspsych-html-button-response-btngroup" class="jspsych-btn-group-grid" style="grid-template-columns: repeat(1, 1fr); grid-template-rows: repeat(1, 1fr);"><button class="jspsych-btn" data-choice="0">button-choice</button></div>"
at Object.<anonymous> (src/index.spec.ts:17:1)
|
Build, lint, and test on Node.js 18
Process completed with exit code 1.
|