manually update snapshots

This commit is contained in:
Josh de Leeuw 2023-10-19 09:10:56 -04:00
parent a99c7b7963
commit acce785dd7
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ describe("html-button-response", () => {
]);
expect(getHTML()).toMatchInlineSnapshot(
'"<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>"'
);
});

View File

@ -17,7 +17,7 @@ describe("image-button-response", () => {
// expect(getHTML()).toContain('<img ');
expect(getHTML()).toMatchInlineSnapshot(
'"<img src="../media/blue.png" id="jspsych-image-button-response-stimulus"><div id="jspsych-image-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>"'
'"<img src="../media/blue.png" id="jspsych-image-button-response-stimulus"><div id="jspsych-image-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>"'
);
});