module.exports = { preset: "ts-jest", moduleDirectories: ["node_modules"], setupFiles: ["./test/src/setup.js", "jest-canvas-mock"], roots: ["./src", "./test"], moduleNameMapper: { "\\.(css|gif|jpg|png|svg|ttf)$": "/src/__mocks__/static_files.js", "^monaco-editor$": "/node_modules/monaco-editor/esm/vs/editor/editor.main.js", "^worker-loader!": "/src/__mocks__/webworkers.js", }, };