You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-28 15:22:05 +03:00
Remove node-canvas devDependency
This commit is contained in:
6
__mocks__/FontManager.js
Normal file
6
__mocks__/FontManager.js
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
// Stub out FontManager for tests as it doesn't validate anything we don't already know given
|
||||||
|
// our fixed test environment and it requires the installation of node-canvas.
|
||||||
|
|
||||||
|
module.exports = {
|
||||||
|
fixupColorFonts: () => Promise.resolve(),
|
||||||
|
};
|
Reference in New Issue
Block a user