module.exports = { displayName: "server", rootDir: "../../", roots: ["/src"], collectCoverageFrom: ["**/*.{js,jsx,mjs,ts,tsx}"], coveragePathIgnorePatterns: ["/node_modules/"], testMatch: ["**/*.spec.{js,jsx,mjs,ts,tsx}"], testPathIgnorePatterns: ["/node_modules/", "/client/"], testEnvironment: "node", testURL: "http://localhost", transform: { "^.+\\.tsx?$": "/node_modules/ts-jest", }, moduleNameMapper: { "^talk-server/(.*)$": "/src/core/server/$1", "^talk-common/(.*)$": "/src/core/common/$1", }, moduleFileExtensions: ["ts", "tsx", "js", "jsx", "json", "node"], };