element-web/__mocks__/FontManager.js

7 lines
242 B
JavaScript
Raw Permalink Normal View History

2021-07-12 21:51:21 +02:00
// 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(),
};