Skip to content

Commit

Permalink
add require.resolve to jest-canvas-mock setup
Browse files Browse the repository at this point in the history
  • Loading branch information
jodeleeuw committed Jan 28, 2025
1 parent f383dbe commit 4a796c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/config/jest.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ module.exports.makePackageConfig = (dirname) => {
name: packageBaseName,
color: packageBaseName === "jspsych" ? "white" : "cyanBright",
},
setupFiles: ["jest-canvas-mock"],
setupFiles: [require.resolve("jest-canvas-mock")],
};
};

0 comments on commit 4a796c7

Please sign in to comment.