mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00

Dynamic imports cause segmentation faults with Jest: https://github.com/nodejs/node/issues/35889. We work around this by handling imports in IdentityProviderFactory differently when Jest is running. For unit tests we use a different tsconfig that transpiles dynamic imports differently, as those are also used in AppRunner.
10 lines
123 B
JSON
10 lines
123 B
JSON
{
|
|
"extends": "../tsconfig.json",
|
|
"compilerOptions": {
|
|
"moduleResolution": "node"
|
|
},
|
|
"include": [
|
|
"."
|
|
]
|
|
}
|