Remove unused mock

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
pull/28549/head
Michael Telatynski 2024-11-26 12:57:43 +00:00
parent aa6a67cd5c
commit 7f13495b03
No known key found for this signature in database
GPG Key ID: A2B008A5F49F5D0D
2 changed files with 0 additions and 7 deletions

View File

@ -1,6 +0,0 @@
// 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(),
};

View File

@ -32,7 +32,6 @@ const config: Config = {
"decoderWorker\\.min\\.wasm": "<rootDir>/__mocks__/empty.js",
"waveWorker\\.min\\.js": "<rootDir>/__mocks__/empty.js",
"context-filter-polyfill": "<rootDir>/__mocks__/empty.js",
"FontManager.ts": "<rootDir>/__mocks__/FontManager.js",
"workers/(.+)Factory": "<rootDir>/__mocks__/workerFactoryMock.js",
"^!!raw-loader!.*": "jest-raw-loader",
"recorderWorkletFactory": "<rootDir>/__mocks__/empty.js",