mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-30 00:28:49 -05:00
9ccfaf3d0e
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
26 lines
457 B
JSON
26 lines
457 B
JSON
{
|
|
"testRegex" : "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
|
|
"testPathIgnorePatterns" : [
|
|
"/dist/"
|
|
],
|
|
"moduleFileExtensions" : [
|
|
"ts",
|
|
"tsx",
|
|
"js"
|
|
],
|
|
"extensionsToTreatAsEsm" : [
|
|
".ts"
|
|
],
|
|
"moduleNameMapper" : {
|
|
"^(\\.{1,2}/.*)\\.js$" : "$1"
|
|
},
|
|
"transformIgnorePatterns": ["<rootDir>/node_modules/"],
|
|
"transform" : {
|
|
"^.+\\.tsx?$" : [
|
|
"ts-jest",
|
|
{
|
|
"useESM" : true
|
|
}
|
|
]
|
|
}
|
|
}
|