Merge branch 'test-create-user-mutation' of github.com:gradido/gradido into test-create-user-mutation

This commit is contained in:
Moriz Wahl 2021-12-29 23:21:39 +01:00
commit 655cc8dd5e
3 changed files with 3 additions and 2 deletions

View File

@ -6,6 +6,7 @@ module.exports = {
collectCoverageFrom: ['src/**/*.ts', '!**/node_modules/**'],
moduleNameMapper: {
'@entity/(.*)': '<rootDir>/../database/build/entity/$1',
// This is hack to fix a problem with the library `ts-mysql-migrate` which does differentiate between its ts/js state
'@dbTools/(.*)': process.env.NODE_ENV === 'development' ? '<rootDir>/../database/src/$1' : '<rootDir>/../database/build/src/$1',
},
}

View File

@ -477,7 +477,7 @@ export class UserResolver {
firstName: string,
lastName: string,
email: string,
): Promise<any> {
): Promise<boolean> {
return sendEMail({
from: `Gradido (nicht antworten) <${CONFIG.EMAIL_SENDER}>`,
to: `${firstName} ${lastName} <${email}>`,

View File

@ -46,7 +46,7 @@
/* Module Resolution Options */
// "moduleResolution": "node", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */
// "baseUrl": "./", /* Base directory to resolve non-absolute module names. */
// "paths": {} /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */
// "paths": {}, /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */
// "rootDirs": [".", "../database"], /* List of root folders whose combined content represents the structure of the project at runtime. */
// "typeRoots": [], /* List of folders to include type definitions from. */
// "types": [], /* Type declaration files to be included in compilation. */