mirror of
https://github.com/jspsych/jsPsych.git
synced 2025-05-10 11:10:54 +00:00
add require.resolve to jest-canvas-mock setup
This commit is contained in:
parent
f383dbe716
commit
4a796c7381
@ -19,6 +19,6 @@ module.exports.makePackageConfig = (dirname) => {
|
|||||||
name: packageBaseName,
|
name: packageBaseName,
|
||||||
color: packageBaseName === "jspsych" ? "white" : "cyanBright",
|
color: packageBaseName === "jspsych" ? "white" : "cyanBright",
|
||||||
},
|
},
|
||||||
setupFiles: ["jest-canvas-mock"],
|
setupFiles: [require.resolve("jest-canvas-mock")],
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user