diff --git a/.changeset/giant-crabs-buy.md b/.changeset/giant-crabs-buy.md new file mode 100644 index 0000000..1772b05 --- /dev/null +++ b/.changeset/giant-crabs-buy.md @@ -0,0 +1,5 @@ +--- +"@jspsych/plugin-button-click-counter": major +--- + +Changed the default label for `button_label` to "Click here!" from "Click me!" diff --git a/packages/plugin-button-click-counter/src/index.spec.ts b/packages/plugin-button-click-counter/src/index.spec.ts index b98ad7b..235af89 100644 --- a/packages/plugin-button-click-counter/src/index.spec.ts +++ b/packages/plugin-button-click-counter/src/index.spec.ts @@ -12,7 +12,7 @@ describe("button-click-counter", () => { }, ]); - expect(getHTML()).toContain("Click me!"); + expect(getHTML()).toContain("Click here!"); expect(getHTML()).toContain("{ /** The label to display on the button. */ button_label: { type: ParameterType.STRING, - default: "Click me!", + default: "Click here!", }, /** The key that the participant must press to end the trial. If null, any key press will end the trial. */ key_to_advance: {