mirror of
https://github.com/jspsych/jsPsych.git
synced 2025-05-10 19:20:55 +00:00

* Convert jsPsych and plugins to ES6 modules * Create packages for each plugin, the core library, and config files * Setup rollup, jest, and babel configurations * Update jsPsych to load plugin objects directly from the `type` field * Update tests to use the ES6 modules
13 lines
306 B
JavaScript
13 lines
306 B
JavaScript
module.exports = {
|
|
resetModules: true,
|
|
testEnvironment: "jsdom",
|
|
testEnvironmentOptions: {
|
|
fetchExternalResources: true,
|
|
pretendToBeVisual: true,
|
|
},
|
|
testURL: "http://localhost/",
|
|
transform: {
|
|
"\\.js$": ["babel-jest", { configFile: "@jspsych/config/babel.test.config.js" }],
|
|
},
|
|
};
|