mirror of
https://github.com/DaanVandenBosch/phantasmal-world.git
synced 2025-04-05 23:38:30 +08:00
11 lines
365 B
JavaScript
11 lines
365 B
JavaScript
module.exports = {
|
|
preset: "ts-jest",
|
|
testEnvironment: "node",
|
|
moduleDirectories: ["node_modules"],
|
|
setupFiles: ["./test/src/setup.js"],
|
|
moduleNameMapper: {
|
|
"\\.(css|gif|jpg|png|svg|ttf)$": "<rootDir>/src/__mocks__/static_files.js",
|
|
"monaco-editor": "<rootDir>/node_modules/monaco-editor/dev/vs/editor/editor.main.js",
|
|
},
|
|
};
|