You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
also, learned about mocking warn to not display a
message when running the jest logs. should clean
up the logs for these tests, and an additional
test in Trial.spec.ts.
Copy file name to clipboardExpand all lines: .changeset/eleven-drinks-fail.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,4 +2,4 @@
2
2
"jspsych": patch
3
3
---
4
4
5
-
parameter types will properly be checked in case of type mismatch, along with `ParameterType.SELECT` params properly using the `option` field to check if it is a valid parameter
5
+
parameter types will properly be checked in case of type mismatch, along with `ParameterType.SELECT` params properly using the `option` field to check if it is a valid parameter. this will only warn the developer, but in v9 we plan to make it error.
`A non-function value (\`${parameterValue}\`) was provided for the function parameter "${parameterPathString}" in the "${this.pluginInfo.name}" plugin.`
`The value "${parameterValue}" is not a valid option for the parameter "${parameterPathString}" in the "${this.pluginInfo.name}" plugin. Valid options are: ${parameterConfig.options.join(
453
-
", "
454
-
)}.`
451
+
console.warn(
452
+
`The value "${parameterValue}" is not a valid option for the parameter "${parameterPathString}" in the "${
0 commit comments