mirror of
https://github.com/wassname/talk.git
synced 2026-07-19 11:28:50 +08:00
* feat: added locale support for Tenant * feat: added secret scrubbing to logs * chore: cleanup logger * chore: logger improvements * feat: re-introduce scoped pretty logger * feat: added initial error support * refactor: replace trace-error.TraceError with talk.InternalError * fix: fixed error logging * refactor: replaced Error with VError * fix: repaired issue with error management on api * fix: patched bug with not found handler * feat: added translations * feat: added location path to invalid entries * refactor: refactored error handling on graph * fix: moved indexing operations to master node * refactor: added throw for when the message isn't found in testing * fix: removed duplicate log * fix: fixed naming on environment variable
25 lines
713 B
JavaScript
25 lines
713 B
JavaScript
module.exports = {
|
|
displayName: "server",
|
|
rootDir: "../../",
|
|
roots: ["<rootDir>/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?$": "<rootDir>/node_modules/ts-jest",
|
|
},
|
|
moduleNameMapper: {
|
|
"^talk-server/(.*)$": "<rootDir>/src/core/server/$1",
|
|
"^talk-common/(.*)$": "<rootDir>/src/core/common/$1",
|
|
},
|
|
moduleFileExtensions: ["ts", "tsx", "js", "jsx", "json", "node"],
|
|
globals: {
|
|
"ts-jest": {
|
|
useBabelrc: true,
|
|
},
|
|
},
|
|
};
|