diff --git a/packages/jspsych/tests/core/functions-as-parameters.test.ts b/packages/jspsych/tests/core/functions-as-parameters.test.ts index 7b806541ab..472866457d 100644 --- a/packages/jspsych/tests/core/functions-as-parameters.test.ts +++ b/packages/jspsych/tests/core/functions-as-parameters.test.ts @@ -141,6 +141,7 @@ describe("nested parameters as functions", () => { const info = { name: "function-test-plugin", + version: "0.0.1", parameters: { foo: { type: ParameterType.COMPLEX, @@ -157,6 +158,7 @@ describe("nested parameters as functions", () => { }, }, }, + data: {}, }; class FunctionTestPlugin implements JsPsychPlugin { diff --git a/packages/jspsych/tests/core/simulation-mode.test.ts b/packages/jspsych/tests/core/simulation-mode.test.ts index 43ebac4f2b..94e9e8fcfb 100644 --- a/packages/jspsych/tests/core/simulation-mode.test.ts +++ b/packages/jspsych/tests/core/simulation-mode.test.ts @@ -246,12 +246,14 @@ describe("data simulation mode", () => { class FakePlugin { static info = { name: "fake-plugin", + version: "0.0.1", parameters: { foo: { type: ParameterType.BOOL, default: true, }, }, + data: {}, }; constructor(private jsPsych: JsPsych) {} diff --git a/packages/jspsych/tests/core/test-complex-plugin.ts b/packages/jspsych/tests/core/test-complex-plugin.ts index 4cc53a7a7a..bf93a0c0b9 100644 --- a/packages/jspsych/tests/core/test-complex-plugin.ts +++ b/packages/jspsych/tests/core/test-complex-plugin.ts @@ -2,6 +2,7 @@ import { JsPsych, JsPsychPlugin, ParameterType, TrialType } from "jspsych"; const info = { name: "test-complex-plugin", + version: "0.0.1", parameters: { blocks: { type: ParameterType.COMPLEX, @@ -23,6 +24,7 @@ const info = { }, }, }, + data: {}, }; type Info = typeof info;