diff --git a/packages/jspsych/src/timeline/Trial.spec.ts b/packages/jspsych/src/timeline/Trial.spec.ts index 1dc49364..e26e02c6 100644 --- a/packages/jspsych/src/timeline/Trial.spec.ts +++ b/packages/jspsych/src/timeline/Trial.spec.ts @@ -41,7 +41,7 @@ describe("Trial", () => { expect( () => new Trial(dependencies, description, timeline) ).toThrowErrorMatchingInlineSnapshot( - "\"Trial plugin not recognized. Please provide a valid plugin using the 'type' parameter.\"" + "\"Plugin not recognized. Please provide a valid plugin using the 'type' parameter.\"" ); } }); diff --git a/packages/jspsych/src/timeline/Trial.ts b/packages/jspsych/src/timeline/Trial.ts index 70ac517c..b2575240 100644 --- a/packages/jspsych/src/timeline/Trial.ts +++ b/packages/jspsych/src/timeline/Trial.ts @@ -38,7 +38,7 @@ export class Trial extends TimelineNode { this.pluginInfo = this.pluginClass?.["info"]; if (!this.pluginInfo) { throw new Error( - "Trial plugin not recognized. Please provide a valid plugin using the 'type' parameter." + "Plugin not recognized. Please provide a valid plugin using the 'type' parameter." ); }