The NestJS API serves the public profile through Apollo Sandbox and loads only the relations selected by the query.
24 lines
463 B
JSON
24 lines
463 B
JSON
{
|
|
"moduleFileExtensions": ["js", "json", "ts"],
|
|
"rootDir": ".",
|
|
"testEnvironment": "node",
|
|
"testTimeout": 120000,
|
|
"testRegex": ".e2e-spec.ts$",
|
|
"extensionsToTreatAsEsm": [".ts"],
|
|
"moduleNameMapper": {
|
|
"^(\\.{1,2}/.*)\\.js$": "$1"
|
|
},
|
|
"transform": {
|
|
"^.+\\.ts$": [
|
|
"ts-jest",
|
|
{
|
|
"useESM": true,
|
|
"tsconfig": {
|
|
"module": "nodenext",
|
|
"moduleResolution": "nodenext"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|