mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-23 18:26:32 -05:00
27 lines
442 B
JSON
27 lines
442 B
JSON
|
{
|
||
|
"testRegex" : "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
|
||
|
"testPathIgnorePatterns" : [
|
||
|
"/dist/"
|
||
|
],
|
||
|
"moduleFileExtensions" : [
|
||
|
"ts",
|
||
|
"tsx",
|
||
|
"js"
|
||
|
],
|
||
|
"extensionsToTreatAsEsm" : [
|
||
|
".ts"
|
||
|
],
|
||
|
"moduleNameMapper" : {
|
||
|
"^(\\.{1,2}/.*)\\.js$" : "$1"
|
||
|
},
|
||
|
"transform" : {
|
||
|
"^.+\\.tsx?$" : [
|
||
|
"ts-jest",
|
||
|
{
|
||
|
"tsconfig" : "tsconfig.test.json",
|
||
|
"useESM" : true
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|