mirror of
https://github.com/jspsych/jsPsych.git
synced 2025-05-10 19:20:55 +00:00
Move test utility functions into @jspsych/test-utils
This commit is contained in:
parent
60ae24a932
commit
ff2827d8c9
563
package-lock.json
generated
563
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -7,7 +7,12 @@ import { terser } from "rollup-plugin-terser";
|
|||||||
import typescript from "rollup-plugin-typescript2";
|
import typescript from "rollup-plugin-typescript2";
|
||||||
import ts from "typescript";
|
import ts from "typescript";
|
||||||
|
|
||||||
const makeConfig = (outputOptions, globalOptions = {}, iifeOutputOptions = {}) => {
|
const makeConfig = ({
|
||||||
|
outputOptions = {},
|
||||||
|
globalOptions = {},
|
||||||
|
iifeOutputOptions = {},
|
||||||
|
nodeOnly = false,
|
||||||
|
}) => {
|
||||||
const source = "src/index";
|
const source = "src/index";
|
||||||
const destination = "dist/index";
|
const destination = "dist/index";
|
||||||
|
|
||||||
@ -39,34 +44,38 @@ const makeConfig = (outputOptions, globalOptions = {}, iifeOutputOptions = {}) =
|
|||||||
...globalOptions,
|
...globalOptions,
|
||||||
});
|
});
|
||||||
|
|
||||||
return defineConfig([
|
/** @type {import("rollup").OutputOptions} */
|
||||||
|
const output = [
|
||||||
{
|
{
|
||||||
// Non-babel builds
|
// Build file to be used as an ES import
|
||||||
...commonConfig,
|
file: `${destination}.js`,
|
||||||
output: [
|
format: "esm",
|
||||||
{
|
...outputOptions,
|
||||||
// Build file to be used as an ES import
|
|
||||||
file: `${destination}.js`,
|
|
||||||
format: "esm",
|
|
||||||
...outputOptions,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
// Build commonjs module (for tools that do not fully support ES6 modules)
|
|
||||||
file: `${destination}.cjs`,
|
|
||||||
format: "cjs",
|
|
||||||
...outputOptions,
|
|
||||||
},
|
|
||||||
{
|
|
||||||
// Build file to be used for tinkering in modern browsers
|
|
||||||
file: `${destination}.browser.js`,
|
|
||||||
format: "iife",
|
|
||||||
...outputOptions,
|
|
||||||
...iifeOutputOptions,
|
|
||||||
},
|
|
||||||
],
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
// Babel build
|
// Build commonjs module (for tools that do not fully support ES6 modules)
|
||||||
|
file: `${destination}.cjs`,
|
||||||
|
format: "cjs",
|
||||||
|
...outputOptions,
|
||||||
|
},
|
||||||
|
];
|
||||||
|
|
||||||
|
if (!nodeOnly) {
|
||||||
|
output.push({
|
||||||
|
// Build file to be used for tinkering in modern browsers
|
||||||
|
file: `${destination}.browser.js`,
|
||||||
|
format: "iife",
|
||||||
|
...outputOptions,
|
||||||
|
...iifeOutputOptions,
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
// Non-babel builds
|
||||||
|
const config = defineConfig([{ ...commonConfig, output }]);
|
||||||
|
|
||||||
|
if (!nodeOnly) {
|
||||||
|
// Babel build
|
||||||
|
config.push({
|
||||||
...commonConfig,
|
...commonConfig,
|
||||||
plugins: commonConfig.plugins.concat(
|
plugins: commonConfig.plugins.concat(
|
||||||
babel({
|
babel({
|
||||||
@ -84,8 +93,10 @@ const makeConfig = (outputOptions, globalOptions = {}, iifeOutputOptions = {}) =
|
|||||||
...iifeOutputOptions,
|
...iifeOutputOptions,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
});
|
||||||
]);
|
}
|
||||||
|
|
||||||
|
return config;
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -96,24 +107,32 @@ const makeConfig = (outputOptions, globalOptions = {}, iifeOutputOptions = {}) =
|
|||||||
* global scope in browser builds
|
* global scope in browser builds
|
||||||
*/
|
*/
|
||||||
export const makeRollupConfig = (iifeName) =>
|
export const makeRollupConfig = (iifeName) =>
|
||||||
makeConfig(
|
makeConfig({
|
||||||
{
|
outputOptions: {
|
||||||
exports: "default",
|
exports: "default",
|
||||||
globals: { jspsych: "jsPsychModule" },
|
globals: { jspsych: "jsPsychModule" },
|
||||||
},
|
},
|
||||||
{ external: ["jspsych"] },
|
globalOptions: { external: ["jspsych"] },
|
||||||
{ name: iifeName }
|
iifeOutputOptions: { name: iifeName },
|
||||||
);
|
});
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the rollup configuration for the core `jspsych` package.
|
* Returns the rollup configuration for the core `jspsych` package.
|
||||||
*/
|
*/
|
||||||
export const makeCoreRollupConfig = () =>
|
export const makeCoreRollupConfig = () =>
|
||||||
makeConfig(
|
makeConfig({
|
||||||
{
|
outputOptions: {
|
||||||
exports: "named",
|
exports: "named",
|
||||||
name: "jsPsychModule",
|
name: "jsPsychModule",
|
||||||
},
|
},
|
||||||
{},
|
iifeOutputOptions: { footer: "var initJsPsych = jsPsychModule.initJsPsych;" },
|
||||||
{ footer: "var initJsPsych = jsPsychModule.initJsPsych;" }
|
});
|
||||||
);
|
|
||||||
|
/**
|
||||||
|
* Returns the rollup configuration for Node.js-only packages
|
||||||
|
*/
|
||||||
|
export const makeNodeRollupConfig = () =>
|
||||||
|
makeConfig({
|
||||||
|
globalOptions: { external: ["jspsych"] },
|
||||||
|
nodeOnly: true,
|
||||||
|
});
|
||||||
|
@ -4,8 +4,7 @@
|
|||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"paths": {
|
"paths": {
|
||||||
// map jspsych-contrib package imports directly to their source files
|
// map jspsych-contrib package imports directly to their source files
|
||||||
"@jspsych-contrib/*": ["../*/src"],
|
"@jspsych-contrib/*": ["../*/src"]
|
||||||
"jspsych/tests/utils": ["../../node_modules/jspsych/tests/utils"]
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -5,7 +5,6 @@
|
|||||||
// map package imports directly to their source files
|
// map package imports directly to their source files
|
||||||
"paths": {
|
"paths": {
|
||||||
"jspsych": ["../jspsych/src"],
|
"jspsych": ["../jspsych/src"],
|
||||||
"jspsych/tests/utils": ["../jspsych/tests/utils"],
|
|
||||||
"@jspsych/*": ["../*/src"]
|
"@jspsych/*": ["../*/src"]
|
||||||
},
|
},
|
||||||
// allow resolving json modules in tests (needed for transitive imports of jspsych in tests;
|
// allow resolving json modules in tests (needed for transitive imports of jspsych in tests;
|
||||||
|
@ -36,6 +36,7 @@
|
|||||||
"jspsych": ">=7"
|
"jspsych": ">=7"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@jspsych/config": "^0.1.0"
|
"@jspsych/config": "^0.1.0",
|
||||||
|
"@jspsych/test-utils": "^0.1.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -16,8 +16,7 @@
|
|||||||
"files": [
|
"files": [
|
||||||
"src",
|
"src",
|
||||||
"dist",
|
"dist",
|
||||||
"css",
|
"css"
|
||||||
"tests/utils.ts"
|
|
||||||
],
|
],
|
||||||
"source": "src/index.ts",
|
"source": "src/index.ts",
|
||||||
"directories": {
|
"directories": {
|
||||||
@ -45,6 +44,7 @@
|
|||||||
"auto-bind": "^4.0.0"
|
"auto-bind": "^4.0.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@jspsych/config": "^0.1.0"
|
"@jspsych/config": "^0.1.0",
|
||||||
|
"@jspsych/test-utils": "^0.1.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
import htmlKeyboardResponse from "@jspsych/plugin-html-keyboard-response";
|
import htmlKeyboardResponse from "@jspsych/plugin-html-keyboard-response";
|
||||||
|
import { pressKey, startTimeline } from "@jspsych/test-utils";
|
||||||
import { pressKey, startTimeline } from "../utils";
|
|
||||||
|
|
||||||
describe("case_sensitive_responses parameter", () => {
|
describe("case_sensitive_responses parameter", () => {
|
||||||
test("has a default value of false", async () => {
|
test("has a default value of false", async () => {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import htmlKeyboardResponse from "@jspsych/plugin-html-keyboard-response";
|
import htmlKeyboardResponse from "@jspsych/plugin-html-keyboard-response";
|
||||||
|
import { pressKey, startTimeline } from "@jspsych/test-utils";
|
||||||
|
|
||||||
import { initJsPsych } from "../../src";
|
import { initJsPsych } from "../../src";
|
||||||
import { pressKey, startTimeline } from "../utils";
|
|
||||||
|
|
||||||
describe("The css_classes parameter for trials", () => {
|
describe("The css_classes parameter for trials", () => {
|
||||||
test("Adds a single CSS class to the root jsPsych element", async () => {
|
test("Adds a single CSS class to the root jsPsych element", async () => {
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
import { jest } from "@jest/globals";
|
import { jest } from "@jest/globals";
|
||||||
import htmlKeyboardResponse from "@jspsych/plugin-html-keyboard-response";
|
import htmlKeyboardResponse from "@jspsych/plugin-html-keyboard-response";
|
||||||
|
import { pressKey, startTimeline } from "@jspsych/test-utils";
|
||||||
import { pressKey, startTimeline } from "../utils";
|
|
||||||
|
|
||||||
jest.useFakeTimers();
|
jest.useFakeTimers();
|
||||||
|
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
import surveyText from "@jspsych/plugin-survey-text";
|
import surveyText from "@jspsych/plugin-survey-text";
|
||||||
|
import { startTimeline } from "@jspsych/test-utils";
|
||||||
import { startTimeline } from "../utils";
|
|
||||||
|
|
||||||
describe("nested defaults", () => {
|
describe("nested defaults", () => {
|
||||||
test("work in basic situation", async () => {
|
test("work in basic situation", async () => {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import htmlKeyboardResponse from "@jspsych/plugin-html-keyboard-response";
|
import htmlKeyboardResponse from "@jspsych/plugin-html-keyboard-response";
|
||||||
|
import { flushPromises, pressKey, startTimeline } from "@jspsych/test-utils";
|
||||||
|
|
||||||
import { initJsPsych } from "../../src";
|
import { initJsPsych } from "../../src";
|
||||||
import { flushPromises, pressKey, startTimeline } from "../utils";
|
|
||||||
|
|
||||||
test("works on basic timeline", async () => {
|
test("works on basic timeline", async () => {
|
||||||
const jsPsych = initJsPsych();
|
const jsPsych = initJsPsych();
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
import htmlKeyboardResponse from "@jspsych/plugin-html-keyboard-response";
|
import htmlKeyboardResponse from "@jspsych/plugin-html-keyboard-response";
|
||||||
import htmlSliderResponse from "@jspsych/plugin-html-slider-response";
|
import htmlSliderResponse from "@jspsych/plugin-html-slider-response";
|
||||||
|
import { pressKey, startTimeline } from "@jspsych/test-utils";
|
||||||
|
|
||||||
import { initJsPsych } from "../../src";
|
import { initJsPsych } from "../../src";
|
||||||
import { pressKey, startTimeline } from "../utils";
|
|
||||||
|
|
||||||
jest.useFakeTimers();
|
jest.useFakeTimers();
|
||||||
|
|
||||||
|
@ -2,9 +2,9 @@ import cloze from "@jspsych/plugin-cloze";
|
|||||||
import htmlKeyboardResponse from "@jspsych/plugin-html-keyboard-response";
|
import htmlKeyboardResponse from "@jspsych/plugin-html-keyboard-response";
|
||||||
import surveyMultiChoice from "@jspsych/plugin-survey-multi-choice";
|
import surveyMultiChoice from "@jspsych/plugin-survey-multi-choice";
|
||||||
import surveyText from "@jspsych/plugin-survey-text";
|
import surveyText from "@jspsych/plugin-survey-text";
|
||||||
|
import { clickTarget, pressKey, startTimeline } from "@jspsych/test-utils";
|
||||||
|
|
||||||
import { JsPsych, JsPsychPlugin, ParameterType, TrialType } from "../../src";
|
import { JsPsych, JsPsychPlugin, ParameterType, TrialType } from "../../src";
|
||||||
import { clickTarget, pressKey, startTimeline } from "../utils";
|
|
||||||
|
|
||||||
describe("standard use of function as parameter", () => {
|
describe("standard use of function as parameter", () => {
|
||||||
test("function value is used as parameter", async () => {
|
test("function value is used as parameter", async () => {
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
import htmlKeyboardResponse from "@jspsych/plugin-html-keyboard-response";
|
import htmlKeyboardResponse from "@jspsych/plugin-html-keyboard-response";
|
||||||
|
import { pressKey, startTimeline } from "@jspsych/test-utils";
|
||||||
import { pressKey, startTimeline } from "../utils";
|
|
||||||
|
|
||||||
jest.useFakeTimers("modern");
|
jest.useFakeTimers("modern");
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import htmlKeyboardResponse from "@jspsych/plugin-html-keyboard-response";
|
import htmlKeyboardResponse from "@jspsych/plugin-html-keyboard-response";
|
||||||
|
import { pressKey, startTimeline } from "@jspsych/test-utils";
|
||||||
|
|
||||||
import { initJsPsych } from "../../src";
|
import { initJsPsych } from "../../src";
|
||||||
import { pressKey, startTimeline } from "../utils";
|
|
||||||
|
|
||||||
describe("automatic progress bar", () => {
|
describe("automatic progress bar", () => {
|
||||||
test("progress bar does not display by default", async () => {
|
test("progress bar does not display by default", async () => {
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
import htmlKeyboardResponse from "@jspsych/plugin-html-keyboard-response";
|
import htmlKeyboardResponse from "@jspsych/plugin-html-keyboard-response";
|
||||||
|
import { flushPromises, startTimeline } from "@jspsych/test-utils";
|
||||||
import { flushPromises, startTimeline } from "../utils";
|
|
||||||
|
|
||||||
describe("jsPsych.run()", () => {
|
describe("jsPsych.run()", () => {
|
||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
import callFunction from "@jspsych/plugin-call-function";
|
import callFunction from "@jspsych/plugin-call-function";
|
||||||
import htmlButtonResponse from "@jspsych/plugin-html-button-response";
|
import htmlButtonResponse from "@jspsych/plugin-html-button-response";
|
||||||
import htmlKeyboardResponse from "@jspsych/plugin-html-keyboard-response";
|
import htmlKeyboardResponse from "@jspsych/plugin-html-keyboard-response";
|
||||||
|
import { pressKey, startTimeline } from "@jspsych/test-utils";
|
||||||
|
|
||||||
import { initJsPsych } from "../../src";
|
import { initJsPsych } from "../../src";
|
||||||
import { pressKey, startTimeline } from "../utils";
|
|
||||||
|
|
||||||
describe("randomize order", () => {});
|
describe("randomize order", () => {});
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import htmlKeyboardResponse from "@jspsych/plugin-html-keyboard-response";
|
import htmlKeyboardResponse from "@jspsych/plugin-html-keyboard-response";
|
||||||
|
import { pressKey, startTimeline } from "@jspsych/test-utils";
|
||||||
|
|
||||||
import { initJsPsych } from "../../src";
|
import { initJsPsych } from "../../src";
|
||||||
import { pressKey, startTimeline } from "../utils";
|
|
||||||
|
|
||||||
describe("loop function", () => {
|
describe("loop function", () => {
|
||||||
test("repeats a timeline when returns true", async () => {
|
test("repeats a timeline when returns true", async () => {
|
||||||
|
@ -1,8 +1,7 @@
|
|||||||
import sameDifferentHtml from "@jspsych/plugin-same-different-html";
|
import sameDifferentHtml from "@jspsych/plugin-same-different-html";
|
||||||
import surveyMultiSelect from "@jspsych/plugin-survey-multi-select";
|
import surveyMultiSelect from "@jspsych/plugin-survey-multi-select";
|
||||||
import surveyText from "@jspsych/plugin-survey-text";
|
import surveyText from "@jspsych/plugin-survey-text";
|
||||||
|
import { clickTarget, pressKey, startTimeline } from "@jspsych/test-utils";
|
||||||
import { clickTarget, pressKey, startTimeline } from "../utils";
|
|
||||||
|
|
||||||
jest.useFakeTimers();
|
jest.useFakeTimers();
|
||||||
|
|
||||||
|
@ -2,8 +2,7 @@ import instructions from "@jspsych/plugin-instructions";
|
|||||||
import sameDifferentHtml from "@jspsych/plugin-same-different-html";
|
import sameDifferentHtml from "@jspsych/plugin-same-different-html";
|
||||||
import surveyMultiSelect from "@jspsych/plugin-survey-multi-select";
|
import surveyMultiSelect from "@jspsych/plugin-survey-multi-select";
|
||||||
import surveyText from "@jspsych/plugin-survey-text";
|
import surveyText from "@jspsych/plugin-survey-text";
|
||||||
|
import { clickTarget, pressKey, startTimeline } from "@jspsych/test-utils";
|
||||||
import { clickTarget, pressKey, startTimeline } from "../utils";
|
|
||||||
|
|
||||||
jest.useFakeTimers();
|
jest.useFakeTimers();
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import htmlKeyboardResponse from "@jspsych/plugin-html-keyboard-response";
|
import htmlKeyboardResponse from "@jspsych/plugin-html-keyboard-response";
|
||||||
|
import { pressKey, startTimeline } from "@jspsych/test-utils";
|
||||||
|
|
||||||
import { initJsPsych } from "../../src";
|
import { initJsPsych } from "../../src";
|
||||||
import { pressKey, startTimeline } from "../utils";
|
|
||||||
|
|
||||||
describe("Basic data recording", () => {
|
describe("Basic data recording", () => {
|
||||||
test("should be able to get rt after running experiment", async () => {
|
test("should be able to get rt after running experiment", async () => {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import htmlKeyboardResponse from "@jspsych/plugin-html-keyboard-response";
|
import htmlKeyboardResponse from "@jspsych/plugin-html-keyboard-response";
|
||||||
|
import { pressKey, startTimeline } from "@jspsych/test-utils";
|
||||||
|
|
||||||
import { initJsPsych } from "../../src";
|
import { initJsPsych } from "../../src";
|
||||||
import { pressKey, startTimeline } from "../utils";
|
|
||||||
|
|
||||||
describe("The data parameter", () => {
|
describe("The data parameter", () => {
|
||||||
test("should record data to a trial", async () => {
|
test("should record data to a trial", async () => {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import htmlKeyboardResponse from "@jspsych/plugin-html-keyboard-response";
|
import htmlKeyboardResponse from "@jspsych/plugin-html-keyboard-response";
|
||||||
|
import { pressKey, startTimeline } from "@jspsych/test-utils";
|
||||||
|
|
||||||
import { initJsPsych } from "../../src";
|
import { initJsPsych } from "../../src";
|
||||||
import { pressKey, startTimeline } from "../utils";
|
|
||||||
|
|
||||||
describe("Data recording", () => {
|
describe("Data recording", () => {
|
||||||
test("record focus events", async () => {
|
test("record focus events", async () => {
|
||||||
|
@ -1,8 +1,7 @@
|
|||||||
import htmlKeyboardResponse from "@jspsych/plugin-html-keyboard-response";
|
import htmlKeyboardResponse from "@jspsych/plugin-html-keyboard-response";
|
||||||
import reconstruction from "@jspsych/plugin-reconstruction";
|
import reconstruction from "@jspsych/plugin-reconstruction";
|
||||||
import surveyText from "@jspsych/plugin-survey-text";
|
import surveyText from "@jspsych/plugin-survey-text";
|
||||||
|
import { clickTarget, pressKey, startTimeline } from "@jspsych/test-utils";
|
||||||
import { clickTarget, pressKey, startTimeline } from "../utils";
|
|
||||||
|
|
||||||
describe("Trial parameters in the data", () => {
|
describe("Trial parameters in the data", () => {
|
||||||
test("Can be added by specifying the parameter with a value of true in save_trial_parameters", async () => {
|
test("Can be added by specifying the parameter with a value of true in save_trial_parameters", async () => {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import htmlKeyboardResponse from "@jspsych/plugin-html-keyboard-response";
|
import htmlKeyboardResponse from "@jspsych/plugin-html-keyboard-response";
|
||||||
|
import { pressKey } from "@jspsych/test-utils";
|
||||||
|
|
||||||
import { initJsPsych } from "../../src";
|
import { initJsPsych } from "../../src";
|
||||||
import { pressKey } from "../utils";
|
|
||||||
import testExtension from "./test-extension";
|
import testExtension from "./test-extension";
|
||||||
|
|
||||||
jest.useFakeTimers();
|
jest.useFakeTimers();
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
|
import { keyDown, keyUp, pressKey } from "@jspsych/test-utils";
|
||||||
|
|
||||||
import { KeyboardListenerAPI } from "../../src/modules/plugin-api/KeyboardListenerAPI";
|
import { KeyboardListenerAPI } from "../../src/modules/plugin-api/KeyboardListenerAPI";
|
||||||
import { TimeoutAPI } from "../../src/modules/plugin-api/TimeoutAPI";
|
import { TimeoutAPI } from "../../src/modules/plugin-api/TimeoutAPI";
|
||||||
import { keyDown, keyUp, pressKey } from "../utils";
|
|
||||||
|
|
||||||
jest.useFakeTimers();
|
jest.useFakeTimers();
|
||||||
|
|
||||||
|
@ -36,6 +36,7 @@
|
|||||||
"jspsych": ">=7"
|
"jspsych": ">=7"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@jspsych/config": "^0.1.0"
|
"@jspsych/config": "^0.1.0",
|
||||||
|
"@jspsych/test-utils": "^0.1.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { startTimeline } from "jspsych/tests/utils";
|
import { startTimeline } from "@jspsych/test-utils";
|
||||||
|
|
||||||
import animation from ".";
|
import animation from ".";
|
||||||
|
|
||||||
|
@ -36,6 +36,7 @@
|
|||||||
"jspsych": ">=7"
|
"jspsych": ">=7"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@jspsych/config": "^0.1.0"
|
"@jspsych/config": "^0.1.0",
|
||||||
|
"@jspsych/test-utils": "^0.1.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
|
import { clickTarget, startTimeline } from "@jspsych/test-utils";
|
||||||
import { initJsPsych } from "jspsych";
|
import { initJsPsych } from "jspsych";
|
||||||
import { clickTarget, startTimeline } from "jspsych/tests/utils";
|
|
||||||
|
|
||||||
import audioButtonResponse from ".";
|
import audioButtonResponse from ".";
|
||||||
|
|
||||||
|
@ -36,6 +36,7 @@
|
|||||||
"jspsych": ">=7"
|
"jspsych": ">=7"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@jspsych/config": "^0.1.0"
|
"@jspsych/config": "^0.1.0",
|
||||||
|
"@jspsych/test-utils": "^0.1.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -36,6 +36,7 @@
|
|||||||
"jspsych": ">=7"
|
"jspsych": ">=7"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@jspsych/config": "^0.1.0"
|
"@jspsych/config": "^0.1.0",
|
||||||
|
"@jspsych/test-utils": "^0.1.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -36,6 +36,7 @@
|
|||||||
"jspsych": ">=7"
|
"jspsych": ">=7"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@jspsych/config": "^0.1.0"
|
"@jspsych/config": "^0.1.0",
|
||||||
|
"@jspsych/test-utils": "^0.1.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { startTimeline } from "jspsych/tests/utils";
|
import { startTimeline } from "@jspsych/test-utils";
|
||||||
|
|
||||||
import callFunction from ".";
|
import callFunction from ".";
|
||||||
|
|
||||||
|
@ -36,6 +36,7 @@
|
|||||||
"jspsych": ">=7"
|
"jspsych": ">=7"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@jspsych/config": "^0.1.0"
|
"@jspsych/config": "^0.1.0",
|
||||||
|
"@jspsych/test-utils": "^0.1.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -36,6 +36,7 @@
|
|||||||
"jspsych": ">=7"
|
"jspsych": ">=7"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@jspsych/config": "^0.1.0"
|
"@jspsych/config": "^0.1.0",
|
||||||
|
"@jspsych/test-utils": "^0.1.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -36,6 +36,7 @@
|
|||||||
"jspsych": ">=7"
|
"jspsych": ">=7"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@jspsych/config": "^0.1.0"
|
"@jspsych/config": "^0.1.0",
|
||||||
|
"@jspsych/test-utils": "^0.1.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -36,6 +36,7 @@
|
|||||||
"jspsych": ">=7"
|
"jspsych": ">=7"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@jspsych/config": "^0.1.0"
|
"@jspsych/config": "^0.1.0",
|
||||||
|
"@jspsych/test-utils": "^0.1.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { pressKey, startTimeline } from "jspsych/tests/utils";
|
import { pressKey, startTimeline } from "@jspsych/test-utils";
|
||||||
|
|
||||||
import categorizeAnimation from ".";
|
import categorizeAnimation from ".";
|
||||||
|
|
||||||
|
@ -36,6 +36,7 @@
|
|||||||
"jspsych": ">=7"
|
"jspsych": ">=7"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@jspsych/config": "^0.1.0"
|
"@jspsych/config": "^0.1.0",
|
||||||
|
"@jspsych/test-utils": "^0.1.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -36,6 +36,7 @@
|
|||||||
"jspsych": ">=7"
|
"jspsych": ">=7"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@jspsych/config": "^0.1.0"
|
"@jspsych/config": "^0.1.0",
|
||||||
|
"@jspsych/test-utils": "^0.1.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -36,6 +36,7 @@
|
|||||||
"jspsych": ">=7"
|
"jspsych": ">=7"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@jspsych/config": "^0.1.0"
|
"@jspsych/config": "^0.1.0",
|
||||||
|
"@jspsych/test-utils": "^0.1.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { clickTarget, startTimeline } from "jspsych/tests/utils";
|
import { clickTarget, startTimeline } from "@jspsych/test-utils";
|
||||||
|
|
||||||
import cloze from ".";
|
import cloze from ".";
|
||||||
|
|
||||||
|
@ -36,6 +36,7 @@
|
|||||||
"jspsych": ">=7"
|
"jspsych": ">=7"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@jspsych/config": "^0.1.0"
|
"@jspsych/config": "^0.1.0",
|
||||||
|
"@jspsych/test-utils": "^0.1.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -36,6 +36,7 @@
|
|||||||
"jspsych": ">=7"
|
"jspsych": ">=7"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@jspsych/config": "^0.1.0"
|
"@jspsych/config": "^0.1.0",
|
||||||
|
"@jspsych/test-utils": "^0.1.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { startTimeline } from "jspsych/tests/utils";
|
import { startTimeline } from "@jspsych/test-utils";
|
||||||
|
|
||||||
import freeSort from ".";
|
import freeSort from ".";
|
||||||
|
|
||||||
|
@ -36,6 +36,7 @@
|
|||||||
"jspsych": ">=7"
|
"jspsych": ">=7"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@jspsych/config": "^0.1.0"
|
"@jspsych/config": "^0.1.0",
|
||||||
|
"@jspsych/test-utils": "^0.1.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { startTimeline } from "jspsych/tests/utils";
|
import { startTimeline } from "@jspsych/test-utils";
|
||||||
|
|
||||||
import fullscreen from ".";
|
import fullscreen from ".";
|
||||||
|
|
||||||
|
@ -36,6 +36,7 @@
|
|||||||
"jspsych": ">=7"
|
"jspsych": ">=7"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@jspsych/config": "^0.1.0"
|
"@jspsych/config": "^0.1.0",
|
||||||
|
"@jspsych/test-utils": "^0.1.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { clickTarget, startTimeline } from "jspsych/tests/utils";
|
import { clickTarget, startTimeline } from "@jspsych/test-utils";
|
||||||
|
|
||||||
import htmlButtonResponse from ".";
|
import htmlButtonResponse from ".";
|
||||||
|
|
||||||
|
@ -36,6 +36,7 @@
|
|||||||
"jspsych": ">=7"
|
"jspsych": ">=7"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@jspsych/config": "^0.1.0"
|
"@jspsych/config": "^0.1.0",
|
||||||
|
"@jspsych/test-utils": "^0.1.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { pressKey, startTimeline } from "jspsych/tests/utils";
|
import { pressKey, startTimeline } from "@jspsych/test-utils";
|
||||||
|
|
||||||
import htmlKeyboardResponse from ".";
|
import htmlKeyboardResponse from ".";
|
||||||
|
|
||||||
|
@ -36,6 +36,7 @@
|
|||||||
"jspsych": ">=7"
|
"jspsych": ">=7"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@jspsych/config": "^0.1.0"
|
"@jspsych/config": "^0.1.0",
|
||||||
|
"@jspsych/test-utils": "^0.1.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { clickTarget, startTimeline } from "jspsych/tests/utils";
|
import { clickTarget, startTimeline } from "@jspsych/test-utils";
|
||||||
|
|
||||||
import htmlSliderResponse from ".";
|
import htmlSliderResponse from ".";
|
||||||
|
|
||||||
|
@ -36,6 +36,7 @@
|
|||||||
"jspsych": ">=7"
|
"jspsych": ">=7"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@jspsych/config": "^0.1.0"
|
"@jspsych/config": "^0.1.0",
|
||||||
|
"@jspsych/test-utils": "^0.1.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { pressKey, startTimeline } from "jspsych/tests/utils";
|
import { pressKey, startTimeline } from "@jspsych/test-utils";
|
||||||
|
|
||||||
import iatHtml from ".";
|
import iatHtml from ".";
|
||||||
|
|
||||||
|
@ -36,6 +36,7 @@
|
|||||||
"jspsych": ">=7"
|
"jspsych": ">=7"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@jspsych/config": "^0.1.0"
|
"@jspsych/config": "^0.1.0",
|
||||||
|
"@jspsych/test-utils": "^0.1.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { pressKey, startTimeline } from "jspsych/tests/utils";
|
import { pressKey, startTimeline } from "@jspsych/test-utils";
|
||||||
|
|
||||||
import iatImage from ".";
|
import iatImage from ".";
|
||||||
|
|
||||||
|
@ -36,6 +36,7 @@
|
|||||||
"jspsych": ">=7"
|
"jspsych": ">=7"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@jspsych/config": "^0.1.0"
|
"@jspsych/config": "^0.1.0",
|
||||||
|
"@jspsych/test-utils": "^0.1.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { clickTarget, startTimeline } from "jspsych/tests/utils";
|
import { clickTarget, startTimeline } from "@jspsych/test-utils";
|
||||||
|
|
||||||
import imageButtonResponse from ".";
|
import imageButtonResponse from ".";
|
||||||
|
|
||||||
|
@ -36,6 +36,7 @@
|
|||||||
"jspsych": ">=7"
|
"jspsych": ">=7"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@jspsych/config": "^0.1.0"
|
"@jspsych/config": "^0.1.0",
|
||||||
|
"@jspsych/test-utils": "^0.1.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { pressKey, startTimeline } from "jspsych/tests/utils";
|
import { pressKey, startTimeline } from "@jspsych/test-utils";
|
||||||
|
|
||||||
import imageKeyboardResponse from ".";
|
import imageKeyboardResponse from ".";
|
||||||
|
|
||||||
|
@ -36,6 +36,7 @@
|
|||||||
"jspsych": ">=7"
|
"jspsych": ">=7"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@jspsych/config": "^0.1.0"
|
"@jspsych/config": "^0.1.0",
|
||||||
|
"@jspsych/test-utils": "^0.1.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { clickTarget, startTimeline } from "jspsych/tests/utils";
|
import { clickTarget, startTimeline } from "@jspsych/test-utils";
|
||||||
|
|
||||||
import imageSliderResponse from ".";
|
import imageSliderResponse from ".";
|
||||||
|
|
||||||
|
@ -36,6 +36,7 @@
|
|||||||
"jspsych": ">=7"
|
"jspsych": ">=7"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@jspsych/config": "^0.1.0"
|
"@jspsych/config": "^0.1.0",
|
||||||
|
"@jspsych/test-utils": "^0.1.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { pressKey, startTimeline } from "jspsych/tests/utils";
|
import { pressKey, startTimeline } from "@jspsych/test-utils";
|
||||||
|
|
||||||
import instructions from ".";
|
import instructions from ".";
|
||||||
|
|
||||||
|
@ -36,6 +36,7 @@
|
|||||||
"jspsych": ">=7"
|
"jspsych": ">=7"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@jspsych/config": "^0.1.0"
|
"@jspsych/config": "^0.1.0",
|
||||||
|
"@jspsych/test-utils": "^0.1.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { clickTarget, startTimeline } from "jspsych/tests/utils";
|
import { clickTarget, startTimeline } from "@jspsych/test-utils";
|
||||||
|
|
||||||
import maxdiff from ".";
|
import maxdiff from ".";
|
||||||
|
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
import audioKeyboardResponse from "@jspsych/plugin-audio-keyboard-response";
|
import audioKeyboardResponse from "@jspsych/plugin-audio-keyboard-response";
|
||||||
import imageKeyboardResponse from "@jspsych/plugin-image-keyboard-response";
|
import imageKeyboardResponse from "@jspsych/plugin-image-keyboard-response";
|
||||||
import videoKeyboardResponse from "@jspsych/plugin-video-keyboard-response";
|
import videoKeyboardResponse from "@jspsych/plugin-video-keyboard-response";
|
||||||
|
import { startTimeline } from "@jspsych/test-utils";
|
||||||
import { JsPsych, initJsPsych } from "jspsych";
|
import { JsPsych, initJsPsych } from "jspsych";
|
||||||
import { startTimeline } from "jspsych/tests/utils";
|
|
||||||
|
|
||||||
import preloadPlugin from ".";
|
import preloadPlugin from ".";
|
||||||
|
|
||||||
|
@ -36,6 +36,7 @@
|
|||||||
"jspsych": ">=7"
|
"jspsych": ">=7"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@jspsych/config": "^0.1.0"
|
"@jspsych/config": "^0.1.0",
|
||||||
|
"@jspsych/test-utils": "^0.1.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { pressKey, startTimeline } from "jspsych/tests/utils";
|
import { pressKey, startTimeline } from "@jspsych/test-utils";
|
||||||
|
|
||||||
import rdk from ".";
|
import rdk from ".";
|
||||||
|
|
||||||
|
@ -36,6 +36,7 @@
|
|||||||
"jspsych": ">=7"
|
"jspsych": ">=7"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@jspsych/config": "^0.1.0"
|
"@jspsych/config": "^0.1.0",
|
||||||
|
"@jspsych/test-utils": "^0.1.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { clickTarget, pressKey, startTimeline } from "jspsych/tests/utils";
|
import { clickTarget, pressKey, startTimeline } from "@jspsych/test-utils";
|
||||||
|
|
||||||
import reconstruction from ".";
|
import reconstruction from ".";
|
||||||
|
|
||||||
|
@ -36,6 +36,7 @@
|
|||||||
"jspsych": ">=7"
|
"jspsych": ">=7"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@jspsych/config": "^0.1.0"
|
"@jspsych/config": "^0.1.0",
|
||||||
|
"@jspsych/test-utils": "^0.1.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -36,6 +36,7 @@
|
|||||||
"jspsych": ">=7"
|
"jspsych": ">=7"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@jspsych/config": "^0.1.0"
|
"@jspsych/config": "^0.1.0",
|
||||||
|
"@jspsych/test-utils": "^0.1.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -36,6 +36,7 @@
|
|||||||
"jspsych": ">=7"
|
"jspsych": ">=7"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@jspsych/config": "^0.1.0"
|
"@jspsych/config": "^0.1.0",
|
||||||
|
"@jspsych/test-utils": "^0.1.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -36,6 +36,7 @@
|
|||||||
"jspsych": ">=7"
|
"jspsych": ">=7"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@jspsych/config": "^0.1.0"
|
"@jspsych/config": "^0.1.0",
|
||||||
|
"@jspsych/test-utils": "^0.1.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { mouseDownMouseUpTarget, startTimeline } from "jspsych/tests/utils";
|
import { mouseDownMouseUpTarget, startTimeline } from "@jspsych/test-utils";
|
||||||
|
|
||||||
import serialReactionTimeMouse from ".";
|
import serialReactionTimeMouse from ".";
|
||||||
|
|
||||||
|
@ -36,6 +36,7 @@
|
|||||||
"jspsych": ">=7"
|
"jspsych": ">=7"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@jspsych/config": "^0.1.0"
|
"@jspsych/config": "^0.1.0",
|
||||||
|
"@jspsych/test-utils": "^0.1.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { pressKey, startTimeline } from "jspsych/tests/utils";
|
import { pressKey, startTimeline } from "@jspsych/test-utils";
|
||||||
|
|
||||||
import serialReactionTime from ".";
|
import serialReactionTime from ".";
|
||||||
|
|
||||||
|
@ -36,6 +36,7 @@
|
|||||||
"jspsych": ">=7"
|
"jspsych": ">=7"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@jspsych/config": "^0.1.0"
|
"@jspsych/config": "^0.1.0",
|
||||||
|
"@jspsych/test-utils": "^0.1.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { clickTarget, startTimeline } from "jspsych/tests/utils";
|
import { clickTarget, startTimeline } from "@jspsych/test-utils";
|
||||||
|
|
||||||
import surveyHtmlForm from ".";
|
import surveyHtmlForm from ".";
|
||||||
|
|
||||||
|
@ -36,6 +36,7 @@
|
|||||||
"jspsych": ">=7"
|
"jspsych": ">=7"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@jspsych/config": "^0.1.0"
|
"@jspsych/config": "^0.1.0",
|
||||||
|
"@jspsych/test-utils": "^0.1.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { clickTarget, startTimeline } from "jspsych/tests/utils";
|
import { clickTarget, startTimeline } from "@jspsych/test-utils";
|
||||||
|
|
||||||
import surveyLikert from ".";
|
import surveyLikert from ".";
|
||||||
|
|
||||||
|
@ -36,6 +36,7 @@
|
|||||||
"jspsych": ">=7"
|
"jspsych": ">=7"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@jspsych/config": "^0.1.0"
|
"@jspsych/config": "^0.1.0",
|
||||||
|
"@jspsych/test-utils": "^0.1.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { clickTarget, startTimeline } from "jspsych/tests/utils";
|
import { clickTarget, startTimeline } from "@jspsych/test-utils";
|
||||||
|
|
||||||
import surveyMultiChoice from ".";
|
import surveyMultiChoice from ".";
|
||||||
|
|
||||||
|
@ -36,6 +36,7 @@
|
|||||||
"jspsych": ">=7"
|
"jspsych": ">=7"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@jspsych/config": "^0.1.0"
|
"@jspsych/config": "^0.1.0",
|
||||||
|
"@jspsych/test-utils": "^0.1.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { clickTarget, startTimeline } from "jspsych/tests/utils";
|
import { clickTarget, startTimeline } from "@jspsych/test-utils";
|
||||||
|
|
||||||
import surveyMultiSelect from ".";
|
import surveyMultiSelect from ".";
|
||||||
|
|
||||||
|
@ -36,6 +36,7 @@
|
|||||||
"jspsych": ">=7"
|
"jspsych": ">=7"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@jspsych/config": "^0.1.0"
|
"@jspsych/config": "^0.1.0",
|
||||||
|
"@jspsych/test-utils": "^0.1.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { clickTarget, startTimeline } from "jspsych/tests/utils";
|
import { clickTarget, startTimeline } from "@jspsych/test-utils";
|
||||||
|
|
||||||
import surveyText from ".";
|
import surveyText from ".";
|
||||||
|
|
||||||
|
@ -36,6 +36,7 @@
|
|||||||
"jspsych": ">=7"
|
"jspsych": ">=7"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@jspsych/config": "^0.1.0"
|
"@jspsych/config": "^0.1.0",
|
||||||
|
"@jspsych/test-utils": "^0.1.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -36,6 +36,7 @@
|
|||||||
"jspsych": ">=7"
|
"jspsych": ">=7"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@jspsych/config": "^0.1.0"
|
"@jspsych/config": "^0.1.0",
|
||||||
|
"@jspsych/test-utils": "^0.1.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -36,6 +36,7 @@
|
|||||||
"jspsych": ">=7"
|
"jspsych": ">=7"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@jspsych/config": "^0.1.0"
|
"@jspsych/config": "^0.1.0",
|
||||||
|
"@jspsych/test-utils": "^0.1.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -36,6 +36,7 @@
|
|||||||
"jspsych": ">=7"
|
"jspsych": ">=7"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@jspsych/config": "^0.1.0"
|
"@jspsych/config": "^0.1.0",
|
||||||
|
"@jspsych/test-utils": "^0.1.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -36,6 +36,7 @@
|
|||||||
"jspsych": ">=7"
|
"jspsych": ">=7"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@jspsych/config": "^0.1.0"
|
"@jspsych/config": "^0.1.0",
|
||||||
|
"@jspsych/test-utils": "^0.1.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -36,6 +36,7 @@
|
|||||||
"jspsych": ">=7"
|
"jspsych": ">=7"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@jspsych/config": "^0.1.0"
|
"@jspsych/config": "^0.1.0",
|
||||||
|
"@jspsych/test-utils": "^0.1.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -36,6 +36,7 @@
|
|||||||
"jspsych": ">=7"
|
"jspsych": ">=7"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@jspsych/config": "^0.1.0"
|
"@jspsych/config": "^0.1.0",
|
||||||
|
"@jspsych/test-utils": "^0.1.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -36,6 +36,7 @@
|
|||||||
"jspsych": ">=7"
|
"jspsych": ">=7"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@jspsych/config": "^0.1.0"
|
"@jspsych/config": "^0.1.0",
|
||||||
|
"@jspsych/test-utils": "^0.1.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -36,6 +36,7 @@
|
|||||||
"jspsych": ">=7"
|
"jspsych": ">=7"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@jspsych/config": "^0.1.0"
|
"@jspsych/config": "^0.1.0",
|
||||||
|
"@jspsych/test-utils": "^0.1.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -36,6 +36,7 @@
|
|||||||
"jspsych": ">=7"
|
"jspsych": ">=7"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@jspsych/config": "^0.1.0"
|
"@jspsych/config": "^0.1.0",
|
||||||
|
"@jspsych/test-utils": "^0.1.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user