{ "moduleFileExtensions": ["js", "json", "ts", "tsx"], "rootDir": ".", "testEnvironment": "node", "testRegex": ".e2e-spec.ts$", "transform": { "prosemirror-markdown/build/.+\\.js$": [ "babel-jest", { "presets": [["@babel/preset-env", { "targets": { "node": "current" } }]] } ], "^.+\\.(t|j)sx?$": ["ts-jest", { "tsconfig": { "allowJs": true } }] }, "transformIgnorePatterns": [ "/node_modules/(?!(\\.pnpm/)?(nanoid|uuid|image-dimensions|marked|happy-dom|lib0|@sindresorhus[+/][a-z0-9-]+|escape-string-regexp|p-limit|yocto-queue|@docmost/prosemirror-markdown)(@|/))" ], "moduleNameMapper": { "^@docmost/db/(.*)$": "/../src/database/$1", "^@docmost/transactional/(.*)$": "/../src/integrations/transactional/$1", "^@docmost/ee/(.*)$": "/../src/ee/$1", "^src/(.*)$": "/../src/$1" } }