mirror of
https://github.com/parnic/node-intellicenter.git
synced 2025-06-16 18:20:14 -05:00
I was trying to make a websocket test, but the "ws" library doesn't appear to be easily mocked and I prefer to use it over the built-in WebSocket. So we'll see what I can do in the future.
10 lines
271 B
JavaScript
10 lines
271 B
JavaScript
export default {
|
|
transform: { "^.+\\.ts?$": "ts-jest" },
|
|
testEnvironment: "node",
|
|
testRegex: "/tests/.*\\.(test|spec)?\\.(ts|tsx)$",
|
|
moduleFileExtensions: ["ts", "tsx", "js", "jsx", "json", "node"],
|
|
moduleNameMapper: {
|
|
"^(\\.{1,2}/.*)\\.js$": "$1",
|
|
},
|
|
};
|