mirror of
https://github.com/wassname/talk.git
synced 2026-07-03 19:15:26 +08:00
6d7056d831
* Move talk-server/config to talk-common/config * Refactor build into /src/core/build and use common config * Add embed webpack config * Start implementing embed * Implement embed * Add pym types * Add event emitter to Talk Context * Add MatchMedia test for passing values from the context * Add support for click far away * Integrate pym click events to registerClickFarAway * Add tests * Resolve merge issues * Apply PR review
20 lines
647 B
JavaScript
20 lines
647 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"],
|
|
};
|