Remove node-canvas devDependency

pull/21833/head
Michael Telatynski 2021-07-12 20:51:21 +01:00
parent d3652996d6
commit c3b99b2faf
1 changed files with 6 additions and 0 deletions

6
__mocks__/FontManager.js Normal file
View 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(),
};